]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 years agoMinor changes to educational decoder 526/head
Sean Purcell [Tue, 7 Feb 2017 22:44:11 +0000 (14:44 -0800)] 
Minor changes to educational decoder

8 years agoInlined portions of specification for clarity
Sean Purcell [Sat, 4 Feb 2017 02:04:00 +0000 (18:04 -0800)] 
Inlined portions of specification for clarity

8 years agoSwitch IO to go through streams
Sean Purcell [Thu, 2 Feb 2017 01:05:45 +0000 (17:05 -0800)] 
Switch IO to go through streams

8 years agoMinor security fixes
Sean Purcell [Wed, 1 Feb 2017 18:41:04 +0000 (10:41 -0800)] 
Minor security fixes

8 years agoMore const's and readability improvements
Sean Purcell [Tue, 31 Jan 2017 23:57:18 +0000 (15:57 -0800)] 
More const's and readability improvements

8 years agoRemoved circular buffer, matches access destination buffer directly
Sean Purcell [Tue, 31 Jan 2017 23:54:02 +0000 (15:54 -0800)] 
Removed circular buffer, matches access destination buffer directly

8 years agoMinor fixes according to comments
Sean Purcell [Mon, 30 Jan 2017 22:57:02 +0000 (14:57 -0800)] 
Minor fixes according to comments

- Add Facebook copyright notice
- Make max size macros more consistent
- Fix some unchecked malloc's

8 years agoAdded ZSTD_get_decompressed_size
Sean Purcell [Mon, 30 Jan 2017 22:42:21 +0000 (14:42 -0800)] 
Added ZSTD_get_decompressed_size

Since this implementation handles multiple concatenated frames,
to determine decompressed size we must traverse the entire input,
checking each frame's frame_content_size field

8 years agoAdd educational decoder to /contrib
Sean Purcell [Mon, 30 Jan 2017 19:42:45 +0000 (11:42 -0800)] 
Add educational decoder to /contrib

8 years agofixed : legacy decoders v04 and v05
Yann Collet [Mon, 30 Jan 2017 18:45:58 +0000 (10:45 -0800)] 
fixed : legacy decoders v04 and v05

8 years agoMerge pull request #525 from terrelln/covermt
Yann Collet [Mon, 30 Jan 2017 18:15:33 +0000 (10:15 -0800)] 
Merge pull request #525 from terrelln/covermt

Multithreaded COVER dictionary training

8 years agoMerge pull request #523 from terrelln/buck
Yann Collet [Sun, 29 Jan 2017 03:17:58 +0000 (19:17 -0800)] 
Merge pull request #523 from terrelln/buck

Add BUCK files for Nuclide integration

8 years agoFix documentation about memory usage 525/head
Nick Terrell [Sat, 28 Jan 2017 02:43:05 +0000 (18:43 -0800)] 
Fix documentation about memory usage

8 years agoFix typos in VS2010 build config
Nick Terrell [Sat, 28 Jan 2017 01:32:16 +0000 (17:32 -0800)] 
Fix typos in VS2010 build config

8 years agoreport @terrelln patch to ST fuzzer tests
Yann Collet [Sat, 28 Jan 2017 01:25:07 +0000 (17:25 -0800)] 
report @terrelln patch to ST fuzzer tests

8 years agoMerge pull request #524 from terrelln/asan-failure
Yann Collet [Sat, 28 Jan 2017 00:50:16 +0000 (16:50 -0800)] 
Merge pull request #524 from terrelln/asan-failure

Fix segfault in zstreamtest MT

8 years agoAdd include guards and extern C
Nick Terrell [Sat, 28 Jan 2017 00:00:19 +0000 (16:00 -0800)] 
Add include guards and extern C

8 years agoFix segfault in zstreamtest MT 524/head
Nick Terrell [Fri, 27 Jan 2017 23:42:36 +0000 (15:42 -0800)] 
Fix segfault in zstreamtest MT

It was reading beyond the end of the input buffer because no errors were
detected. Once that was fixed, it wasn't making forward progress because
no errors were detected and it was waiting for input.

8 years agoFix VS fuzzer build configs
Nick Terrell [Fri, 27 Jan 2017 21:56:41 +0000 (13:56 -0800)] 
Fix VS fuzzer build configs

8 years agoRevert unnecessary change to Logging.h 523/head
Nick Terrell [Fri, 27 Jan 2017 21:26:44 +0000 (13:26 -0800)] 
Revert unnecessary change to Logging.h

8 years agoAdd threading and pool to build configs
Nick Terrell [Fri, 27 Jan 2017 20:29:27 +0000 (12:29 -0800)] 
Add threading and pool to build configs

8 years agochanged format specification version number
Yann Collet [Fri, 27 Jan 2017 20:16:16 +0000 (12:16 -0800)] 
changed format specification version number

8 years agoMerge branch 'dev' into buck
Nick Terrell [Fri, 27 Jan 2017 20:05:48 +0000 (12:05 -0800)] 
Merge branch 'dev' into buck

* dev:
  updated NEWS
  fixed MSAN warnings in legacy decoders
  Fix cmake build
  updated NEWS
  Edits as per comments, and change wildcard 'X' to '?'
  Fix Visual Studios project
  Fix pool.c threading.h import
  Fix zstdmt_compress.h include
  Fixed commented issues
  Updated format specification to be easier to understand
  improved #232 fix
  Fixed https://github.com/facebook/zstd/issues/232
  .travis.yml: different tests for "master" branch
  .travis.yml: optimized order of short tests
  .travis.yml: test jobs 12-15
  JOB_NUMBER -eq 9
  improved ZSTD_compressBlock_opt_extDict_generic

8 years agoAdd multithread support to COVER
Nick Terrell [Fri, 27 Jan 2017 19:56:02 +0000 (11:56 -0800)] 
Add multithread support to COVER

8 years agoMerge pull request #522 from terrelln/benchmt
Yann Collet [Fri, 27 Jan 2017 19:40:25 +0000 (11:40 -0800)] 
Merge pull request #522 from terrelln/benchmt

Fix some includes

8 years agoupdated NEWS
Yann Collet [Fri, 27 Jan 2017 19:27:34 +0000 (11:27 -0800)] 
updated NEWS

8 years agoMerge pull request #520 from iburinoc/spec
Yann Collet [Fri, 27 Jan 2017 19:26:38 +0000 (11:26 -0800)] 
Merge pull request #520 from iburinoc/spec

Updated format specification to be easier to understand

8 years agofixed MSAN warnings in legacy decoders
Yann Collet [Fri, 27 Jan 2017 18:44:03 +0000 (10:44 -0800)] 
fixed MSAN warnings in legacy decoders

In some extraordinary circumstances,
*Length field can be generated from reading a partially uninitialized memory segment.
Data is correctly identified as corrupted later on,
but the read taints some later pointer arithmetic operation.

8 years agoClean imports and shorten tests
Nick Terrell [Fri, 27 Jan 2017 04:47:59 +0000 (20:47 -0800)] 
Clean imports and shorten tests

8 years agoAdd BUCK files for Nuclide support
Nick Terrell [Thu, 26 Jan 2017 23:56:34 +0000 (15:56 -0800)] 
Add BUCK files for Nuclide support

8 years agoimproved #232 fix
Przemyslaw Skibinski [Wed, 25 Jan 2017 12:11:26 +0000 (13:11 +0100)] 
improved #232 fix

8 years agoFixed https://github.com/facebook/zstd/issues/232
Przemyslaw Skibinski [Wed, 25 Jan 2017 12:02:33 +0000 (13:02 +0100)] 
Fixed https://github.com/facebook/zstd/issues/232

8 years ago.travis.yml: different tests for "master" branch
Przemyslaw Skibinski [Wed, 25 Jan 2017 10:57:28 +0000 (11:57 +0100)] 
.travis.yml: different tests for "master" branch

8 years ago.travis.yml: optimized order of short tests
Przemyslaw Skibinski [Wed, 25 Jan 2017 10:19:35 +0000 (11:19 +0100)] 
.travis.yml: optimized order of short tests

8 years ago.travis.yml: test jobs 12-15
Przemyslaw Skibinski [Tue, 24 Jan 2017 16:42:28 +0000 (17:42 +0100)] 
.travis.yml: test jobs 12-15

8 years agoJOB_NUMBER -eq 9
Przemyslaw Skibinski [Tue, 24 Jan 2017 14:01:46 +0000 (15:01 +0100)] 
JOB_NUMBER -eq 9

8 years agoimproved ZSTD_compressBlock_opt_extDict_generic
Przemyslaw Skibinski [Tue, 24 Jan 2017 12:18:50 +0000 (13:18 +0100)] 
improved ZSTD_compressBlock_opt_extDict_generic

8 years agoFix cmake build 522/head
Nick Terrell [Fri, 27 Jan 2017 18:27:29 +0000 (10:27 -0800)] 
Fix cmake build

8 years agoupdated NEWS
Yann Collet [Fri, 27 Jan 2017 11:22:37 +0000 (03:22 -0800)] 
updated NEWS

8 years agoEdits as per comments, and change wildcard 'X' to '?' 520/head
Sean Purcell [Fri, 27 Jan 2017 00:58:25 +0000 (16:58 -0800)] 
Edits as per comments, and change wildcard 'X' to '?'

8 years agoFix Visual Studios project
Nick Terrell [Fri, 27 Jan 2017 00:07:59 +0000 (16:07 -0800)] 
Fix Visual Studios project

8 years agoFix pool.c threading.h import
Nick Terrell [Thu, 26 Jan 2017 23:29:10 +0000 (15:29 -0800)] 
Fix pool.c threading.h import

8 years agoFix zstdmt_compress.h include
Nick Terrell [Thu, 26 Jan 2017 23:25:32 +0000 (15:25 -0800)] 
Fix zstdmt_compress.h include

8 years agoMerge pull request #519 from inikep/dev11
Yann Collet [Thu, 26 Jan 2017 22:23:44 +0000 (14:23 -0800)] 
Merge pull request #519 from inikep/dev11

Dev11

8 years agoMerge pull request #518 from facebook/zstdmt
Yann Collet [Thu, 26 Jan 2017 22:22:27 +0000 (14:22 -0800)] 
Merge pull request #518 from facebook/zstdmt

zstd with multi-threading

8 years agofixed : ZSTD_setCCtxParameter() properly exposed in DLL 518/head
Yann Collet [Thu, 26 Jan 2017 20:24:21 +0000 (12:24 -0800)] 
fixed : ZSTD_setCCtxParameter() properly exposed in DLL

8 years agoFixed commented issues
Sean Purcell [Thu, 26 Jan 2017 19:15:34 +0000 (11:15 -0800)] 
Fixed commented issues

8 years agofixed clang documentation warning
Yann Collet [Thu, 26 Jan 2017 17:16:56 +0000 (09:16 -0800)] 
fixed clang documentation warning

8 years agoCLI : automatically set overlap size to max (windowSize) for max compression level
Yann Collet [Thu, 26 Jan 2017 01:01:13 +0000 (17:01 -0800)] 
CLI : automatically set overlap size to max (windowSize) for max compression level

8 years agoUpdated format specification to be easier to understand
Sean Purcell [Thu, 26 Jan 2017 00:41:52 +0000 (16:41 -0800)] 
Updated format specification to be easier to understand

8 years agoadded test of new parameter ZSTD_p_forceWindow
Yann Collet [Thu, 26 Jan 2017 00:39:03 +0000 (16:39 -0800)] 
added test of new parameter ZSTD_p_forceWindow

8 years agofixed zstdmt corruption issue when enabling overlapped sections
Yann Collet [Thu, 26 Jan 2017 00:25:38 +0000 (16:25 -0800)] 
fixed zstdmt corruption issue when enabling overlapped sections

see Asana board for detailed explanation on why and how to fix it

8 years agofixed zstdmt cli freeze issue with large nb of threads
Yann Collet [Wed, 25 Jan 2017 20:31:07 +0000 (12:31 -0800)] 
fixed zstdmt cli freeze issue with large nb of threads

fileio.c was continually pushing more content without giving a chance to flush compressed one.
It would block the job queue when input data was accumulated too fast (requiring to define many threads).
Fixed : fileio flushes whatever it can after each input attempt.

8 years agoimproved #232 fix 519/head
Przemyslaw Skibinski [Wed, 25 Jan 2017 12:11:26 +0000 (13:11 +0100)] 
improved #232 fix

8 years agoFixed https://github.com/facebook/zstd/issues/232
Przemyslaw Skibinski [Wed, 25 Jan 2017 12:02:33 +0000 (13:02 +0100)] 
Fixed https://github.com/facebook/zstd/issues/232

8 years agoMerge remote-tracking branch 'refs/remotes/origin/master' into dev11
Przemyslaw Skibinski [Wed, 25 Jan 2017 11:24:24 +0000 (12:24 +0100)] 
Merge remote-tracking branch 'refs/remotes/origin/master' into dev11

8 years ago.travis.yml: different tests for "master" branch
Przemyslaw Skibinski [Wed, 25 Jan 2017 10:57:28 +0000 (11:57 +0100)] 
.travis.yml: different tests for "master" branch

8 years ago.travis.yml: optimized order of short tests
Przemyslaw Skibinski [Wed, 25 Jan 2017 10:19:35 +0000 (11:19 +0100)] 
.travis.yml: optimized order of short tests

8 years agooverlapped section, for improved compression
Yann Collet [Wed, 25 Jan 2017 06:32:12 +0000 (22:32 -0800)] 
overlapped section, for improved compression

Sections 2+ read a bit of data from previous section
in order to improve compression ratio.
This also costs some CPU, to reference read data.

Read data is currently fixed to window>>3 size

8 years agorefactor job creation
Yann Collet [Wed, 25 Jan 2017 01:41:49 +0000 (17:41 -0800)] 
refactor job creation

code shared accross ZSTDMT_{compress,flush,end}Stream(),
for easier maintenance

8 years agozstdmt cli and API allow selection of section sizes
Yann Collet [Wed, 25 Jan 2017 01:02:26 +0000 (17:02 -0800)] 
zstdmt cli and API allow selection of section sizes

By default, section sizes are 4x window size.
This new setting allow manual selection of section sizes.
The larger they are, the (slightly) better the compression ratio,
but also the higher the memory allocation cost,
and eventually the lesser the nb of possible threads,
since each section is compressed by a single thread.

It also introduces a prototype to set generic parameters,
ZSTDMT_setMTCtxParameter()

The idea is that it's possible to add enums
to extend the list of parameters that can be set this way.
This is more long-term oriented than a fixed-size struct.
Consider it as a test.

8 years agoZSTDMT now supports frame checksum
Yann Collet [Tue, 24 Jan 2017 19:48:40 +0000 (11:48 -0800)] 
ZSTDMT now supports frame checksum

8 years ago.travis.yml: test jobs 12-15
Przemyslaw Skibinski [Tue, 24 Jan 2017 16:42:28 +0000 (17:42 +0100)] 
.travis.yml: test jobs 12-15

8 years agoJOB_NUMBER -eq 9
Przemyslaw Skibinski [Tue, 24 Jan 2017 14:01:46 +0000 (15:01 +0100)] 
JOB_NUMBER -eq 9

8 years agoimproved ZSTD_compressBlock_opt_extDict_generic
Przemyslaw Skibinski [Tue, 24 Jan 2017 12:18:50 +0000 (13:18 +0100)] 
improved ZSTD_compressBlock_opt_extDict_generic

8 years agorefactor ZSTDMT streaming flush code
Yann Collet [Mon, 23 Jan 2017 19:43:51 +0000 (11:43 -0800)] 
refactor ZSTDMT streaming flush code

now shared by both ZSTDMT_compressStream() and ZSTDMT_flushStream()

8 years agoZSTDMT streaming : fall back to (regular) single thread mode
Yann Collet [Mon, 23 Jan 2017 09:43:58 +0000 (01:43 -0800)] 
ZSTDMT streaming : fall back to (regular) single thread mode

when nbThreads==1

8 years agoZSTDMT_compressCCtx : fallback to single-thread mode when nbChunks==1
Yann Collet [Mon, 23 Jan 2017 08:56:54 +0000 (00:56 -0800)] 
ZSTDMT_compressCCtx : fallback to single-thread mode when nbChunks==1

8 years agoZSTDMT_compressStream() becomes blocking when required to ensure forward progresses
Yann Collet [Mon, 23 Jan 2017 07:49:52 +0000 (23:49 -0800)] 
ZSTDMT_compressStream() becomes blocking when required to ensure forward progresses

In some (rare) cases, job list could be blocked by a first job still being processed,
while all following ones are completed, waiting to be flushed.
In such case, the current job-table implementation is unable to accept new job.
As a consequence, a call to ZSTDMT_compressStream() can be useless (nothing read, nothing flushed),
with the risk to trigger a busy-wait on the caller side
(needlessly loop over ZSTDMT_compressStream() ).

In such a case, ZSTDMT_compressStream() will block until the first job is completed and ready to flush.
It ensures some forward progress by guaranteeing it will flush at least a part of the completed job.
Energy-wasting busy-wait is avoided.

8 years agoZSTDMT_initCStream_usingDict() can outlive dict
Yann Collet [Mon, 23 Jan 2017 00:40:06 +0000 (16:40 -0800)] 
ZSTDMT_initCStream_usingDict() can outlive dict

Like ZSTD_initCStream_usingDict(),
ZSTDMT_initCStream_usingDict() now keep a copy of dict internally.
This way, dict can be released :
it does not longer have to outlive all future compression sessions.

8 years agoplaytest.sh : changed sdiff into $DIFF
Yann Collet [Sun, 22 Jan 2017 23:54:14 +0000 (15:54 -0800)] 
playtest.sh : changed sdiff into $DIFF

8 years agoprotected (mutex) read to jobCompleted, as suggested by @terrelln
Yann Collet [Sun, 22 Jan 2017 06:14:08 +0000 (22:14 -0800)] 
protected (mutex) read to jobCompleted, as suggested by @terrelln

8 years agooptimized pool allocation by 1 slot
Yann Collet [Sun, 22 Jan 2017 06:06:49 +0000 (22:06 -0800)] 
optimized pool allocation by 1 slot

8 years agominor : tab to spaces
Yann Collet [Sun, 22 Jan 2017 05:56:36 +0000 (21:56 -0800)] 
minor : tab to spaces

8 years agoconvert tabs to space
Yann Collet [Sat, 21 Jan 2017 01:23:19 +0000 (17:23 -0800)] 
convert tabs to space

joys of using multiple editors from multiple environments ...

8 years agofixed : compilation of zstreamtest in dll mode
Yann Collet [Sat, 21 Jan 2017 01:18:41 +0000 (17:18 -0800)] 
fixed : compilation of zstreamtest in dll mode

8 years agoResolved merge conflict dev+zstdmt
Yann Collet [Sat, 21 Jan 2017 00:44:50 +0000 (16:44 -0800)] 
Resolved merge conflict dev+zstdmt

8 years agoskip zstdmt at root directory
Yann Collet [Sat, 21 Jan 2017 00:36:29 +0000 (16:36 -0800)] 
skip zstdmt at root directory

8 years agofixed VS2008 project
cyan4973 [Fri, 20 Jan 2017 23:24:06 +0000 (15:24 -0800)] 
fixed VS2008 project

8 years agofixed VS2010 project
cyan4973 [Fri, 20 Jan 2017 22:49:44 +0000 (14:49 -0800)] 
fixed VS2010 project

8 years agofixed minor warnings (Visual, conversion, doxygen)
cyan4973 [Fri, 20 Jan 2017 22:00:41 +0000 (14:00 -0800)] 
fixed minor warnings (Visual, conversion, doxygen)

8 years agoupdated util's time for Windows compatibility
cyan4973 [Fri, 20 Jan 2017 20:23:30 +0000 (12:23 -0800)] 
updated util's time for Windows compatibility

Correctly measures time on Posix systems when running with
Multi-threading

Todo : check Windows measurement under multi-threading

8 years agominor refactoring : cleaner MT integration within bench
Yann Collet [Fri, 20 Jan 2017 01:44:15 +0000 (17:44 -0800)] 
minor refactoring : cleaner MT integration within bench

8 years agorenamed savedRep into repToConfirm
Yann Collet [Fri, 20 Jan 2017 01:33:37 +0000 (17:33 -0800)] 
renamed savedRep into repToConfirm

8 years agozstd cli can now compress using multi-threading
Yann Collet [Fri, 20 Jan 2017 00:59:56 +0000 (16:59 -0800)] 
zstd cli can now compress using multi-threading

added : command -T#
added : ZSTD_resetCStream() (zstdmt_compress)
added : FIO_setNbThreads()  (fileio)

8 years agoAdded ZSTDMT_initCStream_advanced() variant
Yann Collet [Thu, 19 Jan 2017 23:32:07 +0000 (15:32 -0800)] 
Added ZSTDMT_initCStream_advanced() variant

Correctly compress with custom params and dictionary
Added relevant fuzzer test in zstreamtest

Also :
new macro ZSTDMT_SECTION_LOGSIZE_MIN, which sets a minimum size for a full job
(note : a flush() command can still generate a partial job anytime)

8 years agochanged MT enabling macro to ZSTD_MULTITHREAD
Yann Collet [Thu, 19 Jan 2017 22:05:07 +0000 (14:05 -0800)] 
changed MT enabling macro to ZSTD_MULTITHREAD

8 years agofixed minor warning (unused variable) in fuzzer
Yann Collet [Thu, 19 Jan 2017 21:46:30 +0000 (13:46 -0800)] 
fixed minor warning (unused variable) in fuzzer

8 years agoadded streaming fuzzer tests for MT API
Yann Collet [Thu, 19 Jan 2017 20:12:50 +0000 (12:12 -0800)] 
added streaming fuzzer tests for MT API

Also : fixed corner case, where nb of jobs completed becomes > jobQueueSize
which is possible when many flushes are issued
while there is not enough dst buffer to flush completed ones.

8 years agofixed Multi-threaded compression
Yann Collet [Thu, 19 Jan 2017 18:32:55 +0000 (10:32 -0800)] 
fixed Multi-threaded compression

MT compression generates a single frame.
Multi-threading operates by breaking the frames into independent sections.
But from a decoder perspective, there is no difference :
it's just a suite of blocks.

Problem is, decoder preserves repCodes from previous block to start decoding next block.
This is also valid between sections, since they are no different than changing block.

Previous version would incorrectly initialize repcodes to their default value at the beginning of each section.
When using them, there was a mismatch between encoder (default values) and decoder (values from previous block).

This change ensures that repcodes won't be used at the beginning of a new section.
It works by setting them to 0.
This only works with regular (single segment) variants : extDict variants will fail !
Fortunately, sections beyond the 1st one belong to this category.

To be checked : btopt strategy.
This change was only validated from fast to btlazy2 strategies.

8 years agoSimplified compressChunk job
Yann Collet [Thu, 19 Jan 2017 18:18:17 +0000 (10:18 -0800)] 
Simplified compressChunk job

minor refactoring : compression done in a single call on first chunk
Avoid a mutable hSize variable and eventual recombination to cSize at the end

8 years agoMerge pull request #516 from inikep/dev11
Yann Collet [Thu, 19 Jan 2017 17:06:13 +0000 (09:06 -0800)] 
Merge pull request #516 from inikep/dev11

fix for zlibWrapper

8 years agoMerge pull request #515 from iburinoc/emptydict
Yann Collet [Thu, 19 Jan 2017 17:02:42 +0000 (09:02 -0800)] 
Merge pull request #515 from iburinoc/emptydict

Don't create dict in streaming apis if dictSize == 0

8 years agoMerge remote-tracking branch 'refs/remotes/facebook/dev' into dev11 516/head
Przemyslaw Skibinski [Thu, 19 Jan 2017 11:11:22 +0000 (12:11 +0100)] 
Merge remote-tracking branch 'refs/remotes/facebook/dev' into dev11

8 years agozlibWrapper: added the totalInBytes flag - we need it as strm->total_in can be reset...
Przemyslaw Skibinski [Thu, 19 Jan 2017 11:10:52 +0000 (12:10 +0100)] 
zlibWrapper: added the totalInBytes flag - we need it as strm->total_in can be reset by user

8 years agoZSTDMT_endStream : nullify input buffer after flush
Yann Collet [Wed, 18 Jan 2017 23:32:38 +0000 (15:32 -0800)] 
ZSTDMT_endStream : nullify input buffer after flush

There will be no more input after ZSTDMT_endStream invocation :
only flush/end is allowed (to fully collect compressed result).

8 years agoMerge pull request #514 from inikep/dev11
Yann Collet [Wed, 18 Jan 2017 23:21:17 +0000 (15:21 -0800)] 
Merge pull request #514 from inikep/dev11

fixed gz functions based on zlib 1.2.11

8 years agoZSTDMT_initCStream() supports restart from invalid state
Yann Collet [Wed, 18 Jan 2017 23:18:17 +0000 (15:18 -0800)] 
ZSTDMT_initCStream() supports restart from invalid state

ZSTDMT_initCStream() will correcly scrub for resources
when it detects that previous compression was not properly finished.

8 years agotrap compression errors, collect back resources from workers
Yann Collet [Wed, 18 Jan 2017 22:11:37 +0000 (14:11 -0800)] 
trap compression errors, collect back resources from workers

8 years agoPrefix notes with /**< 515/head
Sean Purcell [Wed, 18 Jan 2017 21:44:43 +0000 (13:44 -0800)] 
Prefix notes with /**<