- return(_sleep((caddr_t)chan, pri, wmsg, timo, (void (*)())0 ));
+ return(_sleep((caddr_t)chan, pri, wmsg, timo, (void (*)())0, 0));
+#else
+ return(_sleep((caddr_t)chan, pri, wmsg, timo, continuation, 0));
+#endif
+}
+
+/* tsleeps without assertwait or thread block */
+int tsleep1(chan, pri, wmsg, timo, continuation)
+ void *chan;
+ int pri;
+ char * wmsg;
+ int timo;
+ int (*continuation)();
+{
+#if defined (__i386__)
+ return(_sleep((caddr_t)chan, pri, wmsg, timo, (void (*)())0, 1));