diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-11-06 13:29:53 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-11-06 13:29:53 +0000 |
commit | 03abe23b1abdd3edd542baff0e6201c875a231d7 (patch) | |
tree | 3fecf4417a9ac06252cc2010997d3d5062818de9 /winsup/cygwin/autoload.cc | |
parent | 8f14a11301ef4c58ae9da28a6441dbb21557d56c (diff) | |
download | cygnal-03abe23b1abdd3edd542baff0e6201c875a231d7.tar.gz cygnal-03abe23b1abdd3edd542baff0e6201c875a231d7.tar.bz2 cygnal-03abe23b1abdd3edd542baff0e6201c875a231d7.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions