]> granicus.if.org Git - libevent/commit
Link test/regress with event_core/event_extra over event
authorAzat Khuzhin <azat@libevent.org>
Sun, 24 Mar 2019 22:40:46 +0000 (01:40 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 25 Mar 2019 06:54:32 +0000 (09:54 +0300)
commit2ae875ed1216a8896d8af0414cb4efbcb907bae5
treeb1b300eecb2e7c9a016b4ad65254eb31a0f7b5a7
parentb8e2f01690c07f7b6eb29d097b30c1640fc9612e
Link test/regress with event_core/event_extra over event

Due to regress linked with event and event_core (both of them includes
evthread.c) there will be two different evthread_id_fn_ variables under
mingw64:
  evthread_id_fn_: &0x5294f20a8
  evthread_id_fn_: &0x4ba0030a8

And because of this evthread_use_pthreads() can/will set one copy of
variables while evthread*() functions will access another, which will
break a lot of things (for example main/del_notify test).

Fixes: #792
test/include.am