Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 19 of 19) sorted by relevance

/libevent-2.1.12/test/
H A Dtest-changelist.c56 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 Dregress_thread.c531 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 Dregress.c1057 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 Dregress_dns.c2270 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 Dwhatsnew-2.1.txt181 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 Dwhatsnew-2.0.txt78 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 DChangeLog-2.0386 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 DREADME.md62 # Define if Libevent should not be compiled with thread support
135 --disable-thread-support Don't support multithreaded environments.
H A Dconfigure.ac86 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 DDoxyfile83 $(SRCDIR)/include/event2/thread.h \
H A Devent-config.h.cmake44 /* Define if libevent should not be compiled with thread support */
H A DCMakeLists.txt129 "Define if libevent should not be compiled with thread support" OFF)
796 include/event2/thread.h
H A DChangeLog210 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 Dlinux.yml92 …EVENT_CMAKE_OPTIONS="-DCMAKE_C_FLAGS=-fsanitize=thread -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE…
163 EVENT_CONFIGURE_OPTIONS="--disable-thread-support"
H A Dmacos.yml142 EVENT_CONFIGURE_OPTIONS="--disable-thread-support"
H A Dmingw.yml31 - disable-thread-support
/libevent-2.1.12/m4/
H A Dacx_pthread.m432 # 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 Dinclude.am31 include/event2/thread.h \
/libevent-2.1.12/cmake/
H A DUseDoxygen.cmake72 include/event2/thread.h