functionalthreading 1.0.3__tar.gz → 1.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: functionalthreading
3
- Version: 1.0.3
3
+ Version: 1.0.6
4
4
  Summary: Concurrent functional programming with thread-based parallelism
5
5
  Author-email: Richard Tong <richytong@gmail.com>
6
6
  License-Expression: Unlicense
@@ -14,7 +14,7 @@ License-File: LICENSE
14
14
  Dynamic: license-file
15
15
 
16
16
  # functionalthreading
17
- functionalthreading - Concurrent functional programming with thread-based parallelism
17
+ Concurrent functional programming with thread-based parallelism
18
18
 
19
19
  ```python
20
20
  from functionalthreading import chain, tap, tmap
@@ -34,6 +34,12 @@ The functionalthreading module provides functions for concurrent functional prog
34
34
  ## Functional Programming
35
35
  See [Functional Programming HOWTO](https://docs.python.org/3/howto/functional.html).
36
36
 
37
+ ## Locking
38
+ This module intentionally does not include any thread-locking mechanism, for example [Lock](https://docs.python.org/3/library/threading.html#threading.Lock). It is the responsibility of the programmer using this module to ensure that updates to shared state are atomic.
39
+
40
+ ## Atomicity
41
+ Atomicity is the property of an update (transaction) that implies indivisible and irreducible. An atomic update to state is an indivisible and irreducible update to state. State could mean a log file, cache, database table, game engine physics state, operating system process tables, file system metadata, etc.
42
+
37
43
  ## Reference
38
44
 
39
45
  ### Thread(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None, context=None)
@@ -1,5 +1,5 @@
1
1
  # functionalthreading
2
- functionalthreading - Concurrent functional programming with thread-based parallelism
2
+ Concurrent functional programming with thread-based parallelism
3
3
 
4
4
  ```python
5
5
  from functionalthreading import chain, tap, tmap
@@ -19,6 +19,12 @@ The functionalthreading module provides functions for concurrent functional prog
19
19
  ## Functional Programming
20
20
  See [Functional Programming HOWTO](https://docs.python.org/3/howto/functional.html).
21
21
 
22
+ ## Locking
23
+ This module intentionally does not include any thread-locking mechanism, for example [Lock](https://docs.python.org/3/library/threading.html#threading.Lock). It is the responsibility of the programmer using this module to ensure that updates to shared state are atomic.
24
+
25
+ ## Atomicity
26
+ Atomicity is the property of an update (transaction) that implies indivisible and irreducible. An atomic update to state is an indivisible and irreducible update to state. State could mean a log file, cache, database table, game engine physics state, operating system process tables, file system metadata, etc.
27
+
22
28
  ## Reference
23
29
 
24
30
  ### Thread(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None, context=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: functionalthreading
3
- Version: 1.0.3
3
+ Version: 1.0.6
4
4
  Summary: Concurrent functional programming with thread-based parallelism
5
5
  Author-email: Richard Tong <richytong@gmail.com>
6
6
  License-Expression: Unlicense
@@ -14,7 +14,7 @@ License-File: LICENSE
14
14
  Dynamic: license-file
15
15
 
16
16
  # functionalthreading
17
- functionalthreading - Concurrent functional programming with thread-based parallelism
17
+ Concurrent functional programming with thread-based parallelism
18
18
 
19
19
  ```python
20
20
  from functionalthreading import chain, tap, tmap
@@ -34,6 +34,12 @@ The functionalthreading module provides functions for concurrent functional prog
34
34
  ## Functional Programming
35
35
  See [Functional Programming HOWTO](https://docs.python.org/3/howto/functional.html).
36
36
 
37
+ ## Locking
38
+ This module intentionally does not include any thread-locking mechanism, for example [Lock](https://docs.python.org/3/library/threading.html#threading.Lock). It is the responsibility of the programmer using this module to ensure that updates to shared state are atomic.
39
+
40
+ ## Atomicity
41
+ Atomicity is the property of an update (transaction) that implies indivisible and irreducible. An atomic update to state is an indivisible and irreducible update to state. State could mean a log file, cache, database table, game engine physics state, operating system process tables, file system metadata, etc.
42
+
37
43
  ## Reference
38
44
 
39
45
  ### Thread(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None, context=None)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "functionalthreading"
3
- version = "1.0.3"
3
+ version = "1.0.6"
4
4
  authors = [
5
5
  { name="Richard Tong", email="richytong@gmail.com" },
6
6
  ]