sched_* functions
Robert Collins
robert.collins@itdomain.com.au
Sat Mar 17 19:40:00 GMT 2001
Don't fall out of your chair chris, here's a second contribution...
again, probably not perfect right out of the gate, but it works quite
well.
Changelog:
18 Mar 2001 Robert Collins <rbtcollins@hotmail.com>
* cygwin/sched.cc: new file, exported wrappers for __sched*
* cygwin/schedule.cc: new file, implements __sched*
* cygwin/schedule.h: new file, prototypes for __sched*
* cygwin/include/sched.h: , new file, user land includes for sched*
* cygwin/Makefile.in: added sched.o and schedule.o
* cygwin/cygwin.din: added exports for sched*
* cygwin/external.cc: export the inital windows thread id.
* cygwin/fork.cc: record the inital thread id for created process's.
* cygwin/pinfo.cc: record the inital thread id for the first cygwin
process.
* cygwin/pinfo.h: allocate space to store the main thread Id for
process's.
* cygwin/include/sys/cygwin.h: allocate space for exporting the main
thread id for process's.
* w32api/include/winbase.h: Added prototype for OpenThread.
* w32api/lib/kernel32.def: Added export for OpenThread.
I've attached the new files
* cygwin/sched.cc (note the CC)
* cygwin/schedule.cc
* cygwin/schedule.h
* cygwin/include/sched.h
rather than diffs, cause cvs -z3 diff -upN refused to create diffs. I
hope that's not a problem.
Also attached is my basic testrig (sched.c (single c) ).
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched.c
Type: text/x-c
Size: 8260 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010317/d79d0648/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched.cc
Type: text/x-c
Size: 1419 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010317/d79d0648/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched.h
Type: text/x-c
Size: 1017 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010317/d79d0648/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched.patch
Type: text/x-diff
Size: 5393 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010317/d79d0648/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schedule.cc
Type: text/x-c
Size: 9304 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010317/d79d0648/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schedule.h
Type: text/x-c
Size: 1077 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010317/d79d0648/attachment-0005.bin>
More information about the Cygwin-patches
mailing list