nim-chronos/tests
Jacek Sieka 50abdc4954
disallow reentrancy
Reentrancy causes event reordering and stack explosions, in addition to
leading to hard-to-debug scenarios.

Since none of chronos is actually tested under reentrant conditions (ie
that all features such as exceptions, cancellations, buffer operations,
timers etc work reliably when the loop is reentered), this is hard to
support over time and prevents useful optimizations - this PR simply
detects and disallows the behaviour to remove the uncertainty,
simplifying reasoning about the event loop in general.
2023-11-17 14:50:53 +01:00
..
config.nims Add nimRawSetjmp define to config.nims (#285) 2022-06-14 01:02:33 +03:00
testaddress.nim Compile-time configuration (#371) 2023-03-31 07:35:04 +02:00
testall.nim Recover `poll` engine and add tests. (#421) 2023-08-01 12:56:08 +03:00
testasyncstream.c move test data to c file (#448) 2023-10-17 14:19:20 +02:00
testasyncstream.nim introduce asyncraises in transports/asyncsync (#470) 2023-11-15 09:38:48 +01:00
testbugs.nim disallow reentrancy 2023-11-17 14:50:53 +01:00
testdatagram.nim introduce asyncraises in transports/asyncsync (#470) 2023-11-15 09:38:48 +01:00
testfut.nim Fix not enough memory on i386. (#467) 2023-11-10 07:42:36 +01:00
testfutures.nim Introduce `chronos/futures` (#405) 2023-06-07 20:04:07 +02:00
testhttpclient.nim Attempt to fix CI crash at Windows. (#465) 2023-11-13 13:14:21 +02:00
testhttpserver.nim Cancellation fixes and tests. (#445) 2023-09-15 19:38:39 +03:00
testmacro.nim disallow reentrancy 2023-11-17 14:50:53 +01:00
testnet.nim exception warning fixes (#403) 2023-06-05 13:03:38 +02:00
testproc.bat Fix not enough memory on i386. (#467) 2023-11-10 07:42:36 +01:00
testproc.nim Fix not enough memory on i386. (#467) 2023-11-10 07:42:36 +01:00
testproc.sh Fix not enough memory on i386. (#467) 2023-11-10 07:42:36 +01:00
testratelimit.nim Cancellation fixes and tests. (#445) 2023-09-15 19:38:39 +03:00
testserver.nim introduce asyncraises in transports/asyncsync (#470) 2023-11-15 09:38:48 +01:00
testshttpserver.nim Unroll `defer`s and remove `break`s. (#440) 2023-08-09 10:57:49 +03:00
testsignal.nim Add facility to emulate signals on Windows. (#357) 2023-06-02 01:53:20 +03:00
testsoon.nim Cancellation fixes and tests. (#445) 2023-09-15 19:38:39 +03:00
teststream.nim introduce asyncraises in transports/asyncsync (#470) 2023-11-15 09:38:48 +01:00
testsync.nim Cancellation fixes and tests. (#445) 2023-09-15 19:38:39 +03:00
testthreadsync.nim Asynchronous thread notification mechanism. (#406) 2023-07-21 15:51:36 +03:00
testtime.nim Cancellation fixes and tests. (#445) 2023-09-15 19:38:39 +03:00
testutils.nim Fix not enough memory on i386. (#467) 2023-11-10 07:42:36 +01:00