Warning: session_start(): open(/var/lib/php/sessions/sess_np4onktgccgts1e61nbjispgv7, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
p {
int poolSize = 4, queueSize = 10;
int keepAliveSeconds = 15; // how long idle threads are kept alive
NotifyingBlockingThreadPoolExecutor threadPoolExecutor = new(poolSize, queueSize, keepAliveSeconds, TimeUnit.SECONDS);
for (int i = 1; i <= 50; i++) {
final int _i = i;
threadPoolExecutor.execute(r { sleepSeconds(1); print(_i) });
print("Queued " + i);
}
threadPoolExecutor.await();
threadPoolExecutor.shutdown();
}