summaryrefslogtreecommitdiff
path: root/include/config-netware.h
diff options
context:
space:
mode:
authorjani@a193-229-222-105.elisa-laajakaista.fi <>2005-10-28 14:04:06 +0300
committerjani@a193-229-222-105.elisa-laajakaista.fi <>2005-10-28 14:04:06 +0300
commit1fdee50f168633324e80d04bf14c2170b6796f25 (patch)
tree6f2ab6b1e6069b52e8346c3d42b989ac04cc6b83 /include/config-netware.h
parent7a8bd252d2f0826010e0549f4b176c430075e6c1 (diff)
parent28cb5aefcf0aba6b8bf37371014a83612c39e881 (diff)
downloadmariadb-git-1fdee50f168633324e80d04bf14c2170b6796f25.tar.gz
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
Diffstat (limited to 'include/config-netware.h')
-rw-r--r--include/config-netware.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/config-netware.h b/include/config-netware.h
index 1b24655ee89..74b3c3720e9 100644
--- a/include/config-netware.h
+++ b/include/config-netware.h
@@ -116,15 +116,12 @@ extern "C" {
/* do not use the extended time in LibC sys\stat.h */
#define _POSIX_SOURCE
-/* Kernel call on NetWare that will only yield if our time slice is up */
-void kYieldIfTimeSliceUp(void);
-
/* Some macros for portability */
#define set_timespec(ABSTIME,SEC) { (ABSTIME).tv_sec=time(NULL)+(SEC); (ABSTIME).tv_nsec=0; }
/* extra protection against CPU Hogs on NetWare */
-#define NETWARE_YIELD kYieldIfTimeSliceUp()
+#define NETWARE_YIELD pthread_yield()
/* Screen mode for help texts */
#define NETWARE_SET_SCREEN_MODE(A) setscreenmode(A)