This commit is contained in:
Jaremy Creechley 2024-02-08 21:39:05 -07:00
parent 7e581c97c4
commit 909e9e2181
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 13 additions and 0 deletions

2
config.nims Normal file
View File

@ -0,0 +1,2 @@
--threads:on

11
src/apatheia/asyncs.nim Normal file
View File

@ -0,0 +1,11 @@
import chronos
import chronos/threadsync
import taskpools
## todo: setup basic example here
##
proc test() =
let signal = ThreadSignalPtr.new().tryGet()