
19 Oct
2010
19 Oct
'10
2:17 p.m.
Hello, I am encountering the following error: ********************************** terminate called after throwing an instance of 'boost::thread_resource_error' what(): boost::thread_resource_error Abandon ********************************** trying to run a threadgroup of 500 threads as follows: thread_group * thgrp = new thread_group(); for (int i = 0; i < NUMTHREADS; i++) { thgrp->create_thread(bind(&simulate, i, 100, 0.05, 0.2, 1.0, 100, 100, endPrices)); } thgrp->join_all(); Can anyone please help. I don't understand why I get this error as I have no resource problems with my machine. Julien.