mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ST: Support set context id while thread running. v5.0.72
This commit is contained in:
parent
9525511032
commit
dc20d5ddbc
12 changed files with 96 additions and 15 deletions
|
|
@ -412,6 +412,11 @@ void *srs_thread_getspecific(int key)
|
|||
return st_thread_getspecific(key);
|
||||
}
|
||||
|
||||
int srs_thread_setspecific2(srs_thread_t thread, int key, void* value)
|
||||
{
|
||||
return st_thread_setspecific2((st_thread_t)thread, key, value);
|
||||
}
|
||||
|
||||
int srs_netfd_fileno(srs_netfd_t stfd)
|
||||
{
|
||||
return st_netfd_fileno((st_netfd_t)stfd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue