1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

ST: Define and use a new jmpbuf. v5.0.57

This commit is contained in:
winlin 2022-09-01 11:51:04 +08:00
parent 7d47017a00
commit eb2056db25
8 changed files with 104 additions and 162 deletions

View file

@ -170,7 +170,6 @@ typedef struct _st_cond {
_st_clist_t wait_q; /* Condition variable wait queue */
} _st_cond_t;
typedef struct _st_thread _st_thread_t;
struct _st_thread {
@ -198,7 +197,7 @@ struct _st_thread {
_st_cond_t *term; /* Termination condition variable for join */
jmp_buf context; /* Thread's context */
_st_jmp_buf_t context; /* Thread's context */
};