Re: Using an async buffer

2019-11-08 Thread bioinfornatics via Digitalmars-d-learn
On Friday, 8 November 2019 at 14:32:25 UTC, bioinfornatics wrote: On Friday, 8 November 2019 at 08:58:36 UTC, bioinfornatics wrote: [...] I do not have found yet why the line counter is false. I can tell if the amount to read imply that the last read is not not strictly equal to the buffer

Re: Using an async buffer

2019-11-08 Thread bioinfornatics via Digitalmars-d-learn
On Friday, 8 November 2019 at 08:58:36 UTC, bioinfornatics wrote: the error message was understandable to me, ... the error message was not understandable to me ... I do not have found yet why the line counter is false. I can tell if the amount to read imply that the last read is not not

Re: Using an async buffer

2019-11-08 Thread bioinfornatics via Digitalmars-d-learn
On Friday, 8 November 2019 at 01:12:37 UTC, Ali Çehreli wrote: On 11/07/2019 07:07 AM, bioinfornatics wrote: > Dear, > > I try to use the async buffer describe into std.parallelism > documentation but my test code core dump! I admit I don't fully understand the lifetime issues but removing the

Re: Using an async buffer

2019-11-08 Thread bioinfornatics via Digitalmars-d-learn
the error message was understandable to me, ... the error message was not understandable to me ...

Re: Using an async buffer

2019-11-07 Thread Ali Çehreli via Digitalmars-d-learn
On 11/07/2019 07:07 AM, bioinfornatics wrote: > Dear, > > I try to use the async buffer describe into std.parallelism > documentation but my test code core dump! I admit I don't fully understand the lifetime issues but removing the "code smell" of the modul-level File object solved the issue

Using an async buffer

2019-11-07 Thread bioinfornatics via Digitalmars-d-learn
Dear, I try to use the async buffer describe into std.parallelism documentation but my test code core dump! documentation: https://dlang.org/phobos/std_parallelism.html#.TaskPool.asyncBuf.2 snipptet: https://paste.fedoraproject.org/paste/K5W1O1dLzZ0sPV8NeGztUg Trace: $ gdb test (gdb) r