Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb4c3ff

Browse files
committed
bugix: fix thread inturruption detection
1 parentf0de44e commitfb4c3ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/utils/logger.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ exit_if_necessary(int elevel)
130130
/* If this is not the main thread then don't call exit() */
131131
if (main_tid!=pthread_self())
132132
{
133+
/* Interrupt other possible routines */
134+
thread_interrupted= true;
133135
#ifdefWIN32
134136
ExitThread(elevel);
135137
#else
136138
pthread_exit(NULL);
137139
#endif
138-
/* Interrupt other possible routines */
139-
thread_interrupted= true;
140140
}
141141
else
142142
exit(elevel);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp