Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / ep / ep_thr.h @ master

History | View | Annotate | Download (12.7 KB)

# Date Author Comment
c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

5e58af7b 01/06/2019 06:55 PM Eric Allman

Add some mutex debugging checks (notably for trashed data structures).

e17a232e 05/25/2018 01:22 PM Eric Allman

Improved EP_THR_MUTEX debugging.

e844af35 01/23/2018 04:44 PM Eric Allman

Include __BEGIN_DECLS and __END_DECLS (i.e., extern "C" blocks) to play
well with C++.

95e9c871 09/18/2017 10:42 AM Eric Allman

Make ep_thr_gettid produce something useful to developers (with a
semantic change) and include EP_THR_PRItid for printing.

1b7c480e 08/05/2017 02:17 PM Eric Allman

SNAPSHOT: fewer race conditions; still need more testing.

66f6c374 08/02/2017 09:11 AM Eric Allman

Make Helgrind annotations work properly for (most?) race conditions.

71deaa2f 07/26/2017 12:28 PM Eric Allman

Fix minor typo in assertion code that is compiled out most of the time anyway.

2a8cda22 06/24/2017 02:50 PM Eric Allman

Cleanup (and hopefully simplification) of assertion subsystem. Lots of
changes, but nothing particularly obtuse.

89035e50 03/24/2017 01:19 AM Eric Allman

Repairs for some compilation issues.

84190fa4 03/23/2017 10:12 PM Eric Allman

Add static initializer with lock ordering.

84fbdde9 03/23/2017 09:25 PM Eric Allman

Add debugging to check for mutex ordering. It isn't perfect, and it
does require manually deciding on lock ordering.

c975e6e5 03/14/2017 03:33 PM Eric Allman

Improve extended mutex debugging and default it on for now. It should
get turned off before release.

951b6fb6 03/10/2017 05:05 PM Eric Allman

Change EP_ASSERT_MUTEX_IS(UN)?LOCKED to EP_THR_MUTEX_ASSERT_IS(UN)LOCKED
for consistency with other routine names.

b9c4d7c8 03/07/2017 01:25 PM Eric Allman

Avoid subroutine calls if not doing extended locking checks.

7f515f6d 03/06/2017 05:33 PM Eric Allman

Compiler glitches.

ffd16cbe 03/06/2017 01:08 PM Eric Allman

More mutex debugging (Linux only)

47d57c57 03/02/2017 03:26 PM Eric Allman

Move GDP_ASSERT_MUTEX_IS[UN]LOCKED into EP library; this implementation
is much less portable and relies on peeking into the secret mutex data,
but has the advantage that it seems to work. Also improves some of the
lock debugging output to add more information.

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

06416042 12/10/2016 01:11 PM Eric Allman

Add ep_thr_mutex_tryunlock function. Identical to ep_thr_mutex_unlock
except EAGAIN (mutex was not locked) doesn't print an error.

fbb88f4c 11/20/2016 04:20 PM Eric Allman

Improved diagnostics in ep_thr primitives.

522991b2 06/23/2016 10:32 AM Eric Allman

Improvements to thread pool (for debugging)

b22be946 06/21/2016 03:35 PM Eric Allman

Substantially improve ep_thr debugging. RECOMPILE REQUIRED! The ABI
has changed.

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

546805c8 02/20/2015 01:56 PM Eric Allman

Add ep_thr_yield.

686e4579 11/25/2014 01:30 PM Eric Allman

Change ep_thr_cond_wait and gdp_event_next to take timeout parameters
(NULL = forever). THESE CHANGE THE API!!

3c1d40f1 11/25/2014 09:05 AM Eric Allman

No need for multiple thread pools --- simplify the API.

74e5f511 10/20/2014 09:30 AM Eric Allman

Improved debugging, notably for mutexes.

9509f13b 08/23/2014 01:27 PM Eric Allman

Another snapshot. Much closer to having subscriptions working.

51775f02 08/18/2014 08:28 AM Eric Allman

Basics appear to be working; still have some problems in gdpd_phys.

edc0079e 08/07/2014 06:57 PM Siqi Lin

Merge branch 'gdp-multithread'

2584403b 08/06/2014 03:30 PM Siqi Lin

Change ep.h include to ep/ep.h in ep_thr.h

9f5d76d6 08/05/2014 12:08 PM Eric Allman

Slight interface changes; added comments.

49c87bd9 08/04/2014 12:45 PM Eric Allman

First cut at multithreading the EP library.