FFIFO share for multiprocess
Example
#!/usr/bin/env python
#!/usr/bin/env python
import PArray as pa
from spfifo import *
def test():
pf1 = SPFIFO()
pf1.init(key = "test", number_element = 5, dtype='|S5', element_perblock=2, reNewFlag = True, timeout = 0, raseOtherDelete = False)
pf2 = SPFIFO()
pf2.init(key = "test")
pf1.push(["aa123456"]);
pf1.push(["bb",""]);
pf1.push(["cc",""]);
pf1.push(["dd",""]);
pf1.push(["ee",""]);
print("count ", pf2.count(), pf2.pop()[0])
print("count ", pf2.count(), pf2.pop())
print("count ", pf2.count(), pf2.pop())
print("count ", pf2.count(), pf2.pop())
print("count ", pf2.count(), pf2.pop())
test()
Metadata
Release files for SPFIFO 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SPFIFO-1.2.0-py3.5.egg | Legacy Egg format | - | - | Details |
| SPFIFO-1.2.0-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 8.6 kB
Release files / SPFIFO-1.2.0-py3.5.egg
| Download URL | SPFIFO-1.2.0-py3.5.egg |
|---|---|
| Size | 4.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
370e57595c1053e57d232c551b6627f208569c5a4f0d09ba6f7c643499dd7e79
|
|
BLAKE2b-256 checksum How to use checksums |
e47d5fb45efac325fc72d1da43036bb85aacd143ec68ee5b89061d6ca0def70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3
|
Release files / SPFIFO-1.2.0-py2.7.egg
| Download URL | SPFIFO-1.2.0-py2.7.egg |
|---|---|
| Size | 4.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ebda91c92e32a36d018054924540a36e37fd2244b75c2ae5e89774b9b8442402
|
|
BLAKE2b-256 checksum How to use checksums |
a6ae7926e097f34d452b7e03707cd18077447abee9e5a3b393c5d58483df456e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3
|