]> granicus.if.org Git - libevent/commit
test/regress: cover event_del() waiting mechanism
authorAzat Khuzhin <a3at.mail@gmail.com>
Sat, 2 Jan 2016 21:23:22 +0000 (00:23 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sat, 2 Jan 2016 21:46:47 +0000 (00:46 +0300)
commit5b58b709b24df6053d5a1aa3f1be3c0eaf31101d
tree363766c341a041a4714f7daf5b1be34e9f76276a
parent8d34302956001110643346447bbe926924e14d3f
test/regress: cover event_del() waiting mechanism

Since we have some issues (see refs) for changing waiting order in event_del()
I wrote this simple test, so maybe this test can explain something or at least
cover what we have before and show it will be broken.

P.S. we really need avoid such stuff like lets-test-with-sleep/usleep.

Refs: #225
Refs: #226
Refs: #236
test/regress.c