3 * Sven Verdoolaege. All rights reserved.
5 * See the LICENSE file for redistribution information.
11 static const char sccsid
[] = "$Id: nothread.c,v 1.4 2000/07/22 14:52:37 skimo Exp $ (Berkeley) $Date: 2000/07/22 14:52:37 $";
14 #include <sys/types.h>
15 #include <sys/queue.h>
17 #include <bitstring.h>
25 #include "../common/common.h"
27 static int vi_nothread_run
__P((WIN
*wp
, void *(*fun
)(void*), void *data
));
28 static int vi_nothread_lock
__P((WIN
*, void **));
33 * PUBLIC: void thread_init __P((GS *gp));
38 gp
->run
= vi_nothread_run
;
39 gp
->lock_init
= vi_nothread_lock
;
40 gp
->lock_end
= vi_nothread_lock
;
41 gp
->lock_try
= vi_nothread_lock
;
42 gp
->lock_unlock
= vi_nothread_lock
;
46 vi_nothread_run(WIN
*wp
, void *(*fun
)(void*), void *data
)
53 vi_nothread_lock (WIN
* wp
, void **lp
)