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;
|
||||
namespace this_thread = detail::this_thread_stl;
|
||||
#elif TD_THREAD_UNSUPPORTED
|
||||
namespace this_thread {
|
||||
inline void yield() {}
|
||||
}
|
||||
#else
|
||||
#error "Thread's implementation is not defined"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user