asepaprianto / crawler4j

Automatically exported from code.google.com/p/crawler4j
0 stars 0 forks source link

Pause all threads until one operation is finished #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can I make the threads suspended so that I can run some operations and then 
resume them? Is this possible in crawler4j?

For instance:
if(somecriteria)
{
   send pause signal...
   wait for other threads to pause...
   do some task...
   send resume signal...
}

Original issue reported on code.google.com by alirezan...@gmail.com on 13 Jan 2013 at 1:08

GoogleCodeExporter commented 9 years ago
http://stackoverflow.com/questions/14304074/how-to-thread-safe-signal-threads-to
-pause-in-java

Original comment by alirezan...@gmail.com on 14 Jan 2013 at 11:04

GoogleCodeExporter commented 9 years ago
Not a bug or feature request

Original comment by avrah...@gmail.com on 11 Aug 2014 at 2:20