version 1.1.1.2, 2012/05/29 12:34:35
|
version 1.1.1.4, 2014/06/15 20:04:02
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2014 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 */ |
|
|