Conversation
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
ee3f73e
to
bbe031c
Compare
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This comment has been minimized.
This comment has been minimized.
@cielavenir could you mind to review changes, test it, and help the progress? |
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
e8a589c
to
e1ad23e
Compare
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
@miurahr it is too large to review, but at least tests are working. |
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
The core functions to be reviewed are three in
is a function that run in the thread. the core logic comes from
|
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are several space to be improved.
|
Actually I have an issue: I found that This happens because pthread_cond_timedwait is not FIFO, so I wrote simple implementation in cielavenir@f224a04 (part of UseEndmarkProperly2). |
Another question: did you test FFI version? The test does not run here. Inserting cielavenir@43791a5 worked. |
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
…miurahr/pyppmd into topic-refactoring-buffer-source
Thank you for the suggestion! |
- when too many loop become abort - check buffer status through shared variables - introduce nanosleep for windows - drop usage of pthread_cond_timedwait Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
@miurahr see 7e707cc and 92d52df squashing these two commits will become this (collapsed)
|
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
320328b
to
9d048ff
Compare
I'd like to handle pypy3 case, infinite loop to wait thread finish, on another issue tracker. |
maybe please merge this as it is and I'll revisit my UseEndmarkProperly branch later |
Added ----- * PPMd8: support endmark option(#39) * PPMd8: support restore_method option(#24, @cielavenir) * Add pthread wrapper for macOS and Windows(#33) Changed ------- * PPMd8: decompressor use threading(#24,#33) Fixed ----- * PPMd8: Decompressor become wrong status when memory_size is smaller than file size(#24,#25,#28,#33,#45,#46) * PPMd8: Decompressor allocate buffers by PyMem_Malloc() (#42) * CMake: support CFFI extension generation(#30) * CMake: support debug flag for extension development(#27) * CMake: support pytest_runner on windows * CI: run tox test on pull_request Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Partial fix for #28
Todo:
Issues:
Signed-off-by: Hiroshi Miura miurahr@linux.com