OSDN Git Service

* spinlock.h: New file.
authorcgf <cgf>
Sun, 14 Mar 2010 04:34:34 +0000 (04:34 +0000)
committercgf <cgf>
Sun, 14 Mar 2010 04:34:34 +0000 (04:34 +0000)
commitf135e77588dc792d477d46f755fab5ee0f52f80a
tree11ad1b46344d6104d117b0b4b06a15cf54bef8db
parent3d6cc65b23143a7dbcb1af9d2dbe9aa3c5710705
* spinlock.h: New file.
(spinlock): New class.
* shared.cc: Include spinlock.h.
(memory_init): Use new spinlock methods rather than roll-your-own.  Time out
after ten seconds if shared_mem_inited is not initialized.
* sync.h: Update copyright.  Remove vanity attribution.
* sigproc.cc (sigproc_terminate): Avoid attempts to kill the signal thread
while we're still initializing or suffer a deadlock.
winsup/cygwin/ChangeLog
winsup/cygwin/shared.cc
winsup/cygwin/sigproc.cc
winsup/cygwin/spinlock.h [new file with mode: 0644]
winsup/cygwin/sync.h