Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions include/okapi/api/coreProsAPI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ class CrossplatformThread {
}
#endif

#ifdef THREADS_STD
std::uint32_t notify() {
return 1;
}
#else
std::uint32_t notify() {
return pros::c::task_notify(thread);
}
#endif

static std::string getName() {
#ifdef THREADS_STD
std::ostringstream ss;
Expand Down