]> sourceware.org Git - newlib-cygwin.git/commit
* shm.cc: Include sync.h
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 6 Nov 2007 13:29:53 +0000 (13:29 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 6 Nov 2007 13:29:53 +0000 (13:29 +0000)
commit03abe23b1abdd3edd542baff0e6201c875a231d7
tree3fecf4417a9ac06252cc2010997d3d5062818de9
parent8f14a11301ef4c58ae9da28a6441dbb21557d56c
* shm.cc: Include sync.h
(struct shm_shmid_list): Add ref_count member.
(struct shm_attached_list): Remove hdl and size members.  Add a parent
member pointing to referenced shm_shmid_list entry.
(shm_guard): New muto.
(SLIST_LOCK): Define.
(SLIST_UNLOCK): Define.
(fixup_shms_after_fork): Use hdl and size members of parent
shm_shmid_list entry.
(shmat): Access sequential bookkeeping lists in a thread safe way.
Accommodate change in list element layout.  Align comments.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/shm.cc
This page took 0.029007 seconds and 5 git commands to generate.