mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-15 08:25:31 +02:00
simplify get/set_thread_priority macro use
This commit is contained in:
@@ -863,10 +863,10 @@ struct timeval timeout; /* timeout value */
|
||||
hdl_addshut("http_shutdown",http_shutdown, NULL);
|
||||
|
||||
/* Set server thread priority; ignore any errors */
|
||||
set_thread_priority(0, sysblk.srvprio);
|
||||
set_thread_priority( sysblk.srvprio);
|
||||
|
||||
/* Display thread started message on control panel */
|
||||
WRMSG (HHC00100, "I", thread_id(), get_thread_priority(0), "HTTP server");
|
||||
WRMSG (HHC00100, "I", thread_id(), get_thread_priority(), "HTTP server");
|
||||
|
||||
/* make sure root path is built */
|
||||
if ( http_root() == NULL )
|
||||
@@ -986,7 +986,7 @@ http_server_stop:
|
||||
hdl_delshut(http_shutdown, NULL);
|
||||
|
||||
/* Display thread started message on control panel */
|
||||
WRMSG(HHC00101, "I", thread_id(), get_thread_priority(0), "HTTP server");
|
||||
WRMSG(HHC00101, "I", thread_id(), get_thread_priority(), "HTTP server");
|
||||
|
||||
sysblk.httptid = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user