Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ox696c
ktransformers
Commits
3c675af6
Unverified
Commit
3c675af6
authored
Aug 12, 2024
by
Atream
Committed by
GitHub
Aug 12, 2024
Browse files
Update task_queue.h
parent
cb7f8e78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ktransformers/ktransformers_ext/cpu_backend/task_queue.h
ktransformers/ktransformers_ext/cpu_backend/task_queue.h
+2
-2
No files found.
ktransformers/ktransformers_ext/cpu_backend/task_queue.h
View file @
3c675af6
...
@@ -51,7 +51,7 @@ public:
...
@@ -51,7 +51,7 @@ public:
#ifdef _WIN32
#ifdef _WIN32
ReleaseMutex
(
global_mutex
);
ReleaseMutex
(
global_mutex
);
#else
#else
global_mutex
.
lock
();
global_mutex
.
un
lock
();
#endif
#endif
}
}
};
};
...
@@ -74,4 +74,4 @@ class TaskQueue {
...
@@ -74,4 +74,4 @@ class TaskQueue {
std
::
atomic
<
bool
>
sync_flag
;
std
::
atomic
<
bool
>
sync_flag
;
std
::
atomic
<
bool
>
exit_flag
;
std
::
atomic
<
bool
>
exit_flag
;
};
};
#endif
#endif
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment