version 1.1, 2012/02/21 23:48:06
|
version 1.1.1.3, 2013/07/22 01:32:14
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2013 The PHP Group | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 3.01 of the PHP license, | |
| This source file is subject to version 3.01 of the PHP license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 579 static void queue_request(httpd_conn *hc)
|
Line 579 static void queue_request(httpd_conn *hc)
|
m->next = NULL; |
m->next = NULL; |
|
|
tsrm_mutex_lock(qr_lock); |
tsrm_mutex_lock(qr_lock); |
/* Create new threads when reaching a certain threshhold */ | /* Create new threads when reaching a certain threshold */ |
if (nr_threads < max_threads && nr_free_threads < 2) { |
if (nr_threads < max_threads && nr_free_threads < 2) { |
nr_threads++; /* protected by qr_lock */ |
nr_threads++; /* protected by qr_lock */ |
|
|