| /libevent-2.1.12/test/ |
| H A D | test-changelist.c | 56 HANDLE thread; member 70 timer->thread = GetCurrentThread(); in start_cpu_usage_timer() 71 r = GetThreadTimes(timer->thread, &createtime, &exittime, in start_cpu_usage_timer() 118 r = GetThreadTimes(timer->thread, &createtime, &exittime, in get_cpu_usage()
|
| H A D | regress_thread.c | 531 THREAD_T thread; in thread_no_events() local 544 THREAD_START(thread, register_events_subthread, data->base); in thread_no_events() 548 THREAD_JOIN(thread); in thread_no_events()
|
| H A D | regress.c | 1057 THREAD_T thread; in test_del_wait() local 1064 THREAD_START(thread, del_wait_thread, NULL); in test_del_wait() 1083 THREAD_JOIN(thread); in test_del_wait() 1101 THREAD_T thread; in test_del_notify() local 1108 THREAD_START(thread, test_del_notify_thread, NULL); in test_del_notify() 1116 THREAD_JOIN(thread); in test_del_notify()
|
| H A D | regress_dns.c | 2270 THREAD_T thread[n_threads]; in getaddrinfo_race_gotresolve_test() local 2303 THREAD_START(thread[0], race_base_run, &rp); in getaddrinfo_race_gotresolve_test() 2307 THREAD_START(thread[i], race_busywait_run, &rp); in getaddrinfo_race_gotresolve_test()
|
| /libevent-2.1.12/ |
| H A D | whatsnew-2.1.txt | 181 Suppose that the event's callback might be running in another thread, 188 thread. That way, we can be sure that event_del() has canceled the 203 another thread? Let's say that the other thread gets the lock 211 the "Deadlock when calling bufferevent_free from an other thread" 212 thread on libevent-users starting on 6 August 2012 and running through 226 running in another thread. By using EV_FINALIZE, you are therefore 232 program where events are only used from one thread. 242 callback is running in another thread, even if the event _does_ have 638 3.6. Faster cross-thread notification on kqueue 640 When a thread other than the one in which the main event loop is [all …]
|
| H A D | whatsnew-2.0.txt | 78 2.2. New thread-safe, binary-compatible, harder-to-mess-up APIs 212 2.8. evthread_* functions for thread-safe structures. 216 different thread. (Previously, if you wanted to write multithreaded code 217 with Libevent, you could only an event_base or its events in one thread at 230 implement mutexes, conditions, and thread IDs, and passing them to 231 evthread_set_lock_callbacks and related functions in event2/thread.h. 237 event_del, event_add, and event_active on its events from any thread. The 238 event callbacks themselves are still all executed from the thread running 247 --disable-thread-support to the configure script. 302 When we need to wake the event loop up from another thread, we use
|
| H A D | ChangeLog-2.0 | 386 o Correctly notify the main thread when activating an event from a subthread (5beeec9) 415 o Fix bugs in posix thread-id calculation when sizeof(pthread_t) != sizeof(long) (fbaf077) 467 o Resolve an evport bug in the thread/forking test (3a67d0b) 496 o Increase the skew tolerance to 2 seconds in thread/deferred_cb_skew (f806476 Christopher Davis) 584 o On windows, make lock/thread function tables static (5de2bcb) 610 o Improve testing of when thread-notification occurs (ce85280) 622 o Completely remove the (mostly-removed) obsolete thread functions (3808168) 926 o Fix compilation of devpoll.c by adding missing thread includes. (fee2c77 Dagobert Michelsen) 1048 …o When adding or deleting an event from a non-main thread, only wake up the main thread when its b… 1191 o switch thread support so that locks get allocated as they are needed. [all …]
|
| H A D | README.md | 62 # Define if Libevent should not be compiled with thread support 135 --disable-thread-support Don't support multithreaded environments.
|
| H A D | configure.ac | 86 AC_ARG_ENABLE(thread-support, 87 AS_HELP_STRING(--disable-thread-support, disable support for threading), 821 [Define if libevent should not be compiled with thread support])
|
| H A D | Doxyfile | 83 $(SRCDIR)/include/event2/thread.h \
|
| H A D | event-config.h.cmake | 44 /* Define if libevent should not be compiled with thread support */
|
| H A D | CMakeLists.txt | 129 "Define if libevent should not be compiled with thread support" OFF) 796 include/event2/thread.h
|
| H A D | ChangeLog | 210 o Fix base unlocking in event_del() if event_base_set() runned in another thread (4f0f40e3) 338 o test/thread: netbsd is too slow, increase timeout for conditions_simple (3c7422fc Azat Khuzhin) 457 o be_sock: bufferevent_socket_connect_hostname(): make it thread-safe (809bb39 Azat Khuzhin) 508 o test: fix building with --disable-thread-support under win32 (a487706 Azat Khuzhin) 708 o autoconf: fix --disable-thread-support build under win32 (bb09535 Azat Khuzhin) 1279 should make multithreaded programs on OSX and *BSD alert the main thread a 1917 o Use pipes for telling signals to main thread when possible (a35f396)
|
| /libevent-2.1.12/.github/workflows/ |
| H A D | linux.yml | 92 …EVENT_CMAKE_OPTIONS="-DCMAKE_C_FLAGS=-fsanitize=thread -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE… 163 EVENT_CONFIGURE_OPTIONS="--disable-thread-support"
|
| H A D | macos.yml | 142 EVENT_CONFIGURE_OPTIONS="--disable-thread-support"
|
| H A D | mingw.yml | 31 - disable-thread-support
|
| /libevent-2.1.12/m4/ |
| H A D | acx_pthread.m4 | 32 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute 120 # Create a list of thread flags to try. Items starting with a "-" are 125 …ds none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-c… 144 # --thread-safe: KAI C++
|
| /libevent-2.1.12/include/ |
| H A D | include.am | 31 include/event2/thread.h \
|
| /libevent-2.1.12/cmake/ |
| H A D | UseDoxygen.cmake | 72 include/event2/thread.h
|