1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-10-06 05:19:29 +02:00
Commit graph

5 commits

Author SHA1 Message Date
hp.com!davidm
92b48f5fe8 (sos_alloc): cmpxchg_ptr() now returns a boolean value (TRUE on success).
(Logical change 1.123)
2003-11-24 21:37:22 +00:00
hp.com!davidm
522e2ccbe0 (sos_alloc): Do type-punning through a union to be ANSI-9x compliant
and avoid a warning from gcc.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
mostang.com!davidm
6a01dbb8df Add copyright message.
(SOSLOCK): Remove
(SOSUNLOCK): Ditto.
(LOCK): Ditto
(UNLOCK): Ditto.
(sos_alloc): If HAVE_CMPXCHG is defined, use cmpxchg_ptr() to atomically allocate
	memory in a lock-free manner.  Otherwise, fall back on disabling signal
	delivery and holding the sos_lock during memory allocation.
(sos_free): Remove.
(mempool_init): Initialize pool lock.  Replace LOCK/UNLOCK with appropriate
	signal-masking & mutex_lock/unlock calls.
(mempool_free): Replace LOCK/UNLOC with appropriate signal-masking & mutex_lock/unlock
	calls.

(Logical change 1.59)
2003-03-06 06:14:36 +00:00
mostang.com!davidm
dd3c681c6a (Logical change 1.19) 2002-07-18 03:58:34 +00:00
mostang.com!davidm
5b6078357d Initial revision 2002-07-18 03:58:34 +00:00