Commit Graph

  • dcf197a8c7
    Attempt to fix MacOS compilation issues. (#152) Eugene Kabanov 2021-02-02 17:10:07 +02:00
  • e7f5f855ab
    use constant for ip kind (#151) Jacek Sieka 2021-02-02 15:12:12 +01:00
  • c08ad90b56
    Attempt to fix MacOS compilation issues. cheatfate 2021-02-02 15:47:09 +02:00
  • b4db0d4288
    use constant for ip kind Jacek Sieka 2021-01-26 21:30:49 +01:00
  • 6efd86022e
    Add newline. cheatfate 2021-01-24 23:46:55 +02:00
  • 1194eec984
    Add sequence of bytes as boundary to BoundStream and tests. cheatfate 2021-01-24 23:40:52 +02:00
  • dc73b33a56
    Remove debugging changes. cheatfate 2021-01-22 15:02:13 +02:00
  • 9834c5018a
    Simplification and fixes for TLSStream state machine. cheatfate 2021-01-22 10:36:37 +02:00
  • e0b37e0e6c
    Attempt #5. cheatfate 2021-01-21 20:11:43 +02:00
  • 2215c793d0
    Attempt #4. cheatfate 2021-01-21 05:42:44 +02:00
  • 346dad31e0
    Investigation of Linux freezes #3. cheatfate 2021-01-20 22:40:23 +02:00
  • 7ddaa01a97
    Investigation of Linux freezes #2. cheatfate 2021-01-20 19:06:26 +02:00
  • 85a06e675c
    Investigation of Linux freezes #1. cheatfate 2021-01-20 17:49:04 +02:00
  • c1f6e7276e
    add github action script (#144) andri lim 2021-01-20 22:36:10 +07:00
  • 371ccbb281
    close() procedure should not raise, otherwise its impossible to cleanup. cheatfate 2021-01-20 17:08:16 +02:00
  • 3f05badfd3
    Big refactoring of AsyncStreams. 1. Implement all read() primitives using readLoop() like it was done in streams. 2. Fix readLine() bug. 3. Add readMessage() primitive. 4. Fixing exception hierarchy, handling code and simplification of (break/continue + exception). 5. Fix TLSStream closure procedure. 6. Add BoundedStream stream and tests. 7. Remove result usage from the code. cheatfate 2021-01-20 15:40:15 +02:00
  • 491213dfa0
    Add callIdle() primitive. (#148) Eugene Kabanov 2021-01-19 14:48:39 +02:00
  • 396208044a
    Make single idle callback to be processed by single poll() step. Add idleAsync() primitive to allow wait for "idle" time. Refactor some result usage. cheatfate 2021-01-13 14:24:08 +02:00
  • 5fdf0f6cdd
    Add callIdle primitive. cheatfate 2021-01-13 06:09:18 +02:00
  • 491ddff2a2
    Add AsyncSemaphore tests. semaphore cheatfate 2021-01-13 05:11:15 +02:00
  • 3f06465d57
    Add AsyncPriorityQueue tests. cheatfate 2021-01-13 03:41:19 +02:00
  • 1ed370b58a
    AsyncSemaphore and AsyncPriorityQueue initial commit. cheatfate 2021-01-13 00:42:14 +02:00
  • 9a420c6b05
    work around overload resolution issues (#146) Jacek Sieka 2021-01-11 22:15:21 +01:00
  • add7c35dee
    work around overload resolution issues Jacek Sieka 2021-01-11 19:24:05 +01:00
  • 0933feaa35
    Fix callSoon to raise Defect only. (#145) Eugene Kabanov 2021-01-11 19:15:23 +02:00
  • 5cb63e5829
    Fix for IOSelectorsException. cheatfate 2021-01-11 17:01:52 +02:00
  • 75ed4a72af
    Move pragmas to forward declaration. Add raises to callSoon declaration. cheatfate 2021-01-11 16:19:09 +02:00
  • c3d7d375bf
    Initial commit. cheatfate 2021-01-11 15:26:06 +02:00
  • 06bd1977a4
    add github action script jangko 2020-12-24 12:14:52 +07:00
  • 46c0bf3c5a
    Fix define to skip flaky test on MacOS. cheatfate 2020-11-27 03:50:38 +02:00
  • bca5559c6a
    Race() call (#142) Eugene Kabanov 2020-11-27 00:50:55 +02:00
  • 8709ef9ed5
    Fix race() and add test procedures. cheatfate 2020-11-24 14:34:25 +02:00
  • c5bc222804
    Add race procedure call which extends one with FutureBase. cheatfate 2020-11-20 05:11:34 +02:00
  • ac9b3e304f
    Fix deadlock for pending write() calls on transport close. (#139) Eugene Kabanov 2020-11-18 11:30:33 +02:00
  • 5a51b8d853
    Fix deadlock for pending write() calls on transport close. Add tests for read() and write() deadlocks. cheatfate 2020-11-18 03:10:07 +02:00
  • 879c917242 Add cancellation handler for cancelAndWait() cheatfate 2020-11-17 12:04:19 +02:00
  • 493cb1dbfd Fix behavior of wait() and withTimeout() calls to cancel and wait for result of cancelled Future[T]. Add tests. cheatfate 2020-11-17 11:59:02 +02:00
  • f176d6c703 reduce time for nim repo package test bung87 2020-11-17 21:04:31 +08:00
  • 3932b1d07e
    Add cancellation handler for cancelAndWait() cheatfate 2020-11-17 12:04:19 +02:00
  • 463dfe5be5
    Fix behavior of wait() and withTimeout() calls to cancel and wait for result of cancelled Future[T]. Add tests. cheatfate 2020-11-17 11:59:02 +02:00
  • 7fd1a0f635
    rename newFuture proc's (#136) Jacek Sieka 2020-11-15 19:46:42 +01:00
  • 710454cc6b
    rename newFuture proc's Jacek Sieka 2020-11-15 16:27:30 +01:00
  • fd2758dabc remove some GC hacking, almost all tests pass Giovanni Petrantoni 2020-11-15 11:26:50 +09:00
  • b5915ecd29
    Small fixes (#134) Eugene Kabanov 2020-11-13 14:22:58 +02:00
  • 0e3533bfb5
    Fix new primitive comment, to avoid usage for task switches. cheatfate 2020-11-11 16:05:03 +02:00
  • 62f8697e08
    Fix comments. cheatfate 2020-11-11 13:16:08 +02:00
  • 03c901f5e4
    Add stepsAsync() and tests. cheatfate 2020-11-11 13:00:00 +02:00
  • 0eb20a59a7
    Add completed(Future) and done(Future) calls to check if Future[T] completed without an error. cheatfate 2020-09-23 18:20:10 +03:00
  • 7470e725fe
    Fix cancelAndWait() and add proper documentation. cheatfate 2020-09-23 17:37:59 +03:00
  • 2002cf4dae
    Fix cancellation behavior. Fix some compilation warnings. cheatfate 2020-09-23 16:37:57 +03:00
  • 219273d44e
    Simplify rate limiting. cheatfate 2020-08-13 18:49:38 +03:00
  • 6ffd1d6955
    Rate limiter implementation initial commit cheatfate 2020-07-31 03:48:29 +03:00
  • d3018ae908
    Fix TLSStream SSL errors while in handshake could stuck connection. (#133) Eugene Kabanov 2020-10-13 02:12:52 +03:00
  • 536fc28a39
    Fix TLSStream SSL errors while in handshake could stuck connection. Fix expired SSL certificate in tests. cheatfate 2020-10-13 00:49:07 +03:00
  • 1ffd1cd3dc
    release callback memory early (#130) Jacek Sieka 2020-09-15 09:55:43 +02:00
  • 1af8d25ee8
    Removing unnecessary asserts, and place comments instead. cheatfate 2020-09-15 10:26:14 +03:00
  • c0587010c7
    release callback memory early Jacek Sieka 2020-09-14 20:08:58 +02:00
  • 2134980744
    Fix AsyncLock.locked flag to be consistent. (#129) Eugene Kabanov 2020-09-10 23:28:20 +03:00
  • da3c6a9e3c
    Fix review comments. cheatfate 2020-09-10 19:54:22 +03:00
  • 557c380db4
    Fix multiple release() without scheduler. Add more tests. cheatfate 2020-09-10 16:31:53 +03:00
  • 2658865bac
    Fix imports. cheatfate 2020-09-10 12:04:10 +03:00
  • afc980329f
    Fixes. cheatfate 2020-09-10 11:43:38 +03:00
  • 271f8562b9
    Fix locked flag to be more consistent. Refactor AsyncLock to not use result. Add test for locked flag. cheatfate 2020-09-10 05:18:00 +03:00
  • 483054cda6
    small fixes (#127) Jacek Sieka 2020-09-10 10:39:10 +02:00
  • c74a23c77b
    Keep style consistent with other code. Refactor AsyncEvent and AsyncQueue to not use result keyword. cheatfate 2020-09-10 06:39:17 +03:00
  • 57ebe84d17
    Add Defect check for arguments pbytes and nbytes. (#128) Eugene Kabanov 2020-09-10 03:50:06 +03:00
  • 64061a9e28
    Allow some edge cases to be not Defect. cheatfate 2020-09-09 18:51:22 +03:00
  • 4c0806d87a
    avoid seq allocs Jacek Sieka 2020-09-09 17:42:46 +02:00
  • d05f61f85b
    delete fix Jacek Sieka 2020-09-09 17:40:11 +02:00
  • c622ad4b6c
    Fix AsyncEvent test, because of optimization. cheatfate 2020-09-09 17:57:19 +03:00
  • 885686de77
    Add Defect check for arguments pbytes and nbytes. cheatfate 2020-09-09 16:43:54 +03:00
  • 0da4a88f11
    small fixes Jacek Sieka 2020-09-09 15:29:23 +02:00
  • 126ea4bc56
    Fix newFuture[T] location source for generated async procedures. (#125) Eugene Kabanov 2020-09-03 14:37:53 +03:00
  • c235361cb4
    Fix newFuture[T] location source for generated async procedures. Add tests to for locations. cheatfate 2020-09-03 13:55:00 +03:00
  • f5ba2c855c
    Bugfix: Correct origin locations for futures created in the async macro Zahary Karadjov 2020-09-03 03:45:37 +03:00
  • a5442edfc0
    Add asyncSpawn() procedure and tests. (#123) Eugene Kabanov 2020-09-01 21:41:18 +03:00
  • c5dd510eb9
    Add asyncSpawn() procedure and tests. Deprecated asyncDiscard() procedure. Bump version to 2.5.2. cheatfate 2020-09-01 15:54:17 +03:00
  • e6d50b7736 Revert "some metrics for monitoring futures (#85)" Zahary Karadjov 2020-08-16 01:45:41 +03:00
  • 826d48c4aa Revert "more docs (#111)" Zahary Karadjov 2020-08-16 01:43:44 +03:00
  • 03f4a26829 Revert "yieldAsync() (#120)" Zahary Karadjov 2020-08-16 01:36:36 +03:00
  • 34b81961d3 Revert "asyncCheck(): don't raise exception on cancellation (#121)" Zahary Karadjov 2020-08-16 01:34:42 +03:00
  • 9d8c901779
    Revert "some metrics for monitoring futures (#85)" Zahary Karadjov 2020-08-16 01:45:41 +03:00
  • d9be589f24
    Revert "more docs (#111)" Zahary Karadjov 2020-08-16 01:43:44 +03:00
  • 7d5abd70a7
    Revert "yieldAsync() (#120)" Zahary Karadjov 2020-08-16 01:36:36 +03:00
  • 018f336e15
    Revert "asyncCheck(): don't raise exception on cancellation (#121)" Zahary Karadjov 2020-08-16 01:34:42 +03:00
  • baf33f04ea
    asyncCheck(): don't raise exception on cancellation (#121) Ștefan Talpalaru 2020-08-12 16:24:55 +02:00
  • fbbbb522f6
    asyncCheck(): don't raise exception on cancellation Ștefan Talpalaru 2020-08-11 22:12:38 +02:00
  • 284d677815
    yieldAsync() (#120) Ștefan Talpalaru 2020-08-10 15:31:21 +02:00
  • a9d07fc863
    yieldAsync() Ștefan Talpalaru 2020-08-09 21:58:02 +02:00
  • d53c069541
    merge master Dmitriy Ryajov 2020-08-06 17:37:39 -06:00
  • 3fe7544227
    only delete when about to idle Dmitriy Ryajov 2020-01-09 19:59:08 -06:00
  • dd0f4ce2b4
    cleanup timers after treshold Dmitriy Ryajov 2020-01-09 15:17:06 -06:00
  • d0a17d551f
    more docs (#111) Ștefan Talpalaru 2020-08-06 20:52:50 +02:00
  • 9ed3278d41
    mention the need to avoid catching all exceptions Ștefan Talpalaru 2020-08-01 19:15:53 +02:00
  • 217d9aa4c3
    make CancelledError and object of Exception Ștefan Talpalaru 2020-08-01 18:52:58 +02:00
  • fc58e9bd44
    a small but important detail Ștefan Talpalaru 2020-07-29 15:57:28 +02:00
  • 1471da9052
    more docs Ștefan Talpalaru 2020-07-28 01:18:12 +02:00
  • e45ef32b5b
    some metrics for monitoring futures (#85) Ștefan Talpalaru 2020-08-06 19:30:53 +02:00
  • 4a1be99899
    some metrics for monitoring futures Ștefan Talpalaru 2020-03-03 15:47:43 +01:00
  • 0d4d0002b0
    Produce an error when the result variable is used in void async procs (#117) zah 2020-08-05 16:28:11 +03:00