Skip to content
Snippets Groups Projects
Commit 3c2d1f28 authored by dtc's avatar dtc
Browse files

Enable unix-sched-yield for Linux.

parent 27eb60af
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/exports.lisp,v 1.165 1999/12/04 15:58:45 dtc Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/exports.lisp,v 1.166 1999/12/04 15:59:35 dtc Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -220,7 +220,7 @@
"UNIX-IOCTL" "UNIX-ISATTY" "UNIX-LINK" "UNIX-LISTEN" "UNIX-LSEEK"
"UNIX-LSTAT" "UNIX-MKDIR" "UNIX-OPEN" "UNIX-PATHNAME" "UNIX-PID"
"UNIX-PIPE" "UNIX-READ" "UNIX-READLINK" "UNIX-RECV" "UNIX-RENAME"
"UNIX-RMDIR" "UNIX-SELECT" "UNIX-SEND"
"UNIX-RMDIR" "UNIX-SCHED-YIELD" "UNIX-SELECT" "UNIX-SEND"
"UNIX-SETPGID" "UNIX-SETPGRP"
"UNIX-SETREGID" "UNIX-SETREUID" "UNIX-SOCKET" "UNIX-STAT"
"UNIX-SYMLINK" "UNIX-SYNC"
......
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix-glibc2.lisp,v 1.7 1999/09/12 14:24:16 dtc Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix-glibc2.lisp,v 1.8 1999/12/04 15:59:35 dtc Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -135,7 +135,7 @@
KBDSCLICK FIONREAD unix-exit unix-stat unix-lstat unix-fstat
unix-getrusage unix-fast-getrusage rusage_self rusage_children
unix-gettimeofday
unix-utimes unix-setreuid
unix-utimes unix-sched-yield unix-setreuid
unix-setregid
unix-getpid unix-getppid
unix-getgid unix-getegid unix-getpgrp unix-setpgrp unix-getuid
......@@ -1283,8 +1283,7 @@ length LEN and type TYPE."
(int-syscall ("sched_getscheduler" pid-t)
pid))
#+nil
(defun unix-sched_yield ()
(defun unix-sched-yield ()
"Retrieve scheduling algorithm for a particular purpose."
(int-syscall ("sched_yield")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment