Gwendal Roué
a703da9b27
Async version of Pool.barrier { ... }
2025-07-19 14:25:50 +02:00
Gwendal Roué
27b7400979
Async version of Pool.get()
2025-07-19 14:25:50 +02:00
Gwendal Roué
55560ccd90
[SENDING REGRET] Pool async methods require Sendable closures
...
We should be able to use sending closures instead, but DispatchQueue.async does not accept sending closures yet.
2024-09-08 16:09:19 +02:00
Gwendal Roué
ea4d208037
Rename ReadWriteBox to ReadWriteLock
2024-09-08 13:33:07 +02:00
Gwendal Roué
b587afba0e
Pool is Sendable
2024-08-25 17:28:02 +02:00
Gwendal Roué
4a5d4d6e49
Fix Xcode 15 warnings
2023-06-06 08:06:06 +02:00
Gwendal Roué
9b663e3bcc
Pool can discard elements after use
2022-11-18 08:52:52 +01:00
Gwendal Roué
952ee0a137
Rename Pool.async to asyncGet
2022-05-25 17:25:43 +02:00
Gwendal Roué
ee92db9d6f
Pool has a QoS
2022-05-25 17:21:50 +02:00
Gwendal Roué
9ed309b470
Fix failing tests for number of threads created by DatabasePool
2022-05-24 19:31:22 +02:00
Gwendal Roué
c9c652dddc
DatabaseMigrator async migrations
2021-03-20 13:25:43 +01:00
Gwendal Roué
289394c7ac
Turn LockedBox and ReadWriteBox into property wrappers.
...
Also fix an old concurrency bug in tests, regarding query recording
2020-05-30 13:52:39 +02:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
7865b0a2ee
SE-0249: Key Path Expressions as Functions
2020-03-08 19:58:51 +01:00
Gwendal Roué
b39c678a3d
Remove dead code
2019-11-05 08:55:30 +01:00
Gwendal Roué
b59521e247
ReadWriteBox(value:) initializer
2019-10-10 13:50:42 +02:00
Gwendal Roué
e495df0114
Pool.barrier
2019-09-01 16:32:18 +02:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
ca7df229fa
Cleanup
2018-07-03 18:44:42 +02:00
Gwendal Roué
cc41b8b259
Fix Pool bug introduced in 2add1c68ea
...
I think this is the bug behind this failed test suite: https://travis-ci.org/groue/GRDB.swift/jobs/253093331
In 2add1c68ea Pool has started relying on *indexes* inside its inner array of items. Those indexes weren't reliable enough: this commit brings back independence from indexes by making the Item type a class again.
2017-07-13 12:17:03 +02:00
Gwendal Roué
2add1c68ea
Raise a fatal error when DatabasePool is used in a reentrant way
2017-07-12 20:07:05 +02:00
Gwendal Roué
dae4ae1c6b
Reduce internal coupling
2017-04-22 11:12:43 +02:00