just a note for the person wanting to implement this in unix.
in linux .. pthread_yield would be OK.
in solaris thr_yield should be used (as pthread_yield isn't defined, and posix threads are implemented onto of LWP threads )
Justin/Aaron ???
[EMAIL PROTECTED] wrote:
bnicholes 01/08/02 17:31:32
Modified: threadproc/unix thread.c
Log:
Added a stub for apr_thread_yield()
Revision Changes Path
1.44 +4 -0 apr/threadproc/unix/thread.c
Index: thread.c
===================================================================
RCS file: /home/cvs/apr/threadproc/unix/thread.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- thread.c 2001/08/01 16:54:58 1.43
+++ thread.c 2001/08/03 00:31:32 1.44
@@ -219,6 +219,10 @@
}
}
+void apr_thread_yield()
+{
+}
+
apr_status_t apr_thread_data_get(void **data, const char *key, apr_thread_t *thread)
{
return apr_pool_userdata_get(data, key, thread->cntxt);
