[Gc] Re: [bdwgc] Add test case to expose a bug with thread creation. (#6)

Ivan Maidanski ivmai at mail.ru
Tue Sep 20 09:00:31 PDT 2011


Hi Petter,

I've added the test with some modifications (to master):
- rely on implicit redirection;
- use CreateThread on Win32;
- significantly reduced the number of created threads (since some systems have rather low limit of) but enabled to specify values with -D option.

Regards.


19 09 2011, 21:14 Petter Urkedal <reply+i-1680243-64afab33963cc8c4f14f82cfa432aba5daffb391 at reply.github.com>:
> The test fails sporadically (about 1 in 10 time in my case).
> 
> You can merge this Pull Request by running:
> 
>   git pull https://github.com/paurkedal/bdwgc pullreq/subthread_create_test
> 
> Or you can view, comment on it, or merge it online at:
> 
>   https://github.com/ivmai/bdwgc/pull/6
> 
> -- Commit Summary --
> 
> * Add test case to expose a bug with thread creation.
> 
> -- File Changes --
> 
> A tests/subthread_create.c (55)
> M tests/tests.am (5)
> 
> -- Patch Links --
> 
>   https://github.com/ivmai/bdwgc/pull/6.patch
>   https://github.com/ivmai/bdwgc/pull/6.diff
> 
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/ivmai/bdwgc/pull/6
> 



More information about the Gc mailing list