mirror of
https://github.com/Maschell/libutils.git
synced 2024-06-13 04:38:49 +02:00
Add setThreadPriority method to TCPServer
This commit is contained in:
parent
125ee44117
commit
cf8bda7314
|
@ -31,6 +31,12 @@ protected:
|
|||
return sockfd;
|
||||
}
|
||||
|
||||
void setThreadPriority(int32_t priority) {
|
||||
if(pThread != NULL){
|
||||
pThread->setThreadPriority(priority);
|
||||
}
|
||||
}
|
||||
|
||||
struct sockaddr_in getSockAddr() {
|
||||
return sock_addr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user