Remove pthread_yield support
authorYedidya Feldblum <yfeldblum@fb.com>
Thu, 17 Mar 2016 21:08:38 +0000 (14:08 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Thu, 17 Mar 2016 21:20:23 +0000 (14:20 -0700)
commit2c8de414e51305fa00ef6efdab69de0fbda7aff1
treeb4d42d094c723e6cec749e2c74c1b70976bab0b7
parent1e9f346577617277df9d866d908acc1e2baf7709
Remove pthread_yield support

Summary:[Folly] Remove `pthread_yield` support.

* It is not actually part of POSIX - rather, `sched_yield` is.
* In C++, we should be using `std::this_thread::yield` anyway.

Reviewed By: Gownta

Differential Revision: D3056221

fb-gh-sync-id: 2fea55dd7b715149327987d61e5a573ad0455330
shipit-source-id: 2fea55dd7b715149327987d61e5a573ad0455330
folly/Portability.h
folly/configure.ac