Commit Graph
6 Commits
Author SHA1 Message Date
Marc RousavyandGitHub 6dbb34f9d3 fix: Add NON_NULL, NULLABLE and CONTIGUOUS_MEMORY annotations on pointers (#902)
* chore: Add `NON_NULL` and `NULLABLE` annotations on all pointers

* feat: Add `CONTIGUOUS_MEMORY` and `NON_NULL`

* Create `InstanceMethod<...>`

* chore: Use `InstanceMethod<...>`
2025-09-26 13:45:54 +02:00
Marc RousavyandGitHub f94cfbcbc8 feat: Allow ThreadPool to grow dynamically (#345)
* feat: Allow `ThreadPool` to grow dynamically

* feat: Add upper limit to `ThreadPool`

* fix: Fix potential race condition when ThreadPool gets destroyed while `addThread()`
2024-11-19 00:27:27 +01:00
Marc RousavyandGitHub 8832bc5225 feat: Add new Promise<T> implementation for C++ (#343)
* feat: Create `Promise.hpp`

* feat: Add `JSIConverter+Exception`

* feat: Base for `Promise` and `Exception`

* fix: Implement Exception conversion

* Implement `Promise::awaitFuture`

* Revive `+Future`

* fix: Speed up creating `ThreadPool`

* fix: Make `+Future` also just use `+Promise` impl

* fix: Thread pool has 10 threads now.

* feat: Allow `ThreadPool` to grow dynamically

* chore: Format C++
2024-11-19 00:01:46 +01:00
Marc Rousavy da52559049 fix: Fix some headers 2024-08-05 17:31:09 +02:00
Marc Rousavy 1140d5e693 Update ThreadPool.hpp 2024-08-05 16:37:17 +02:00
Marc Rousavy 950ff037fc feat: Use efficient ThreadPool to speed up Promise creation 2024-08-05 16:32:55 +02:00