Remove this_thread::yield for TD_THREAD_UNSUPPORTED.
This commit is contained in:
parent
124b0dee6c
commit
03db53281c
@ -22,9 +22,6 @@ namespace td {
|
|||||||
using thread = detail::ThreadStl;
|
using thread = detail::ThreadStl;
|
||||||
namespace this_thread = detail::this_thread_stl;
|
namespace this_thread = detail::this_thread_stl;
|
||||||
#elif TD_THREAD_UNSUPPORTED
|
#elif TD_THREAD_UNSUPPORTED
|
||||||
namespace this_thread {
|
|
||||||
inline void yield() {}
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
#error "Thread's implementation is not defined"
|
#error "Thread's implementation is not defined"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user