mirror of
https://github.com/Maschell/libutils.git
synced 2024-11-30 23:44:21 +01: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