react-native/React
Tadeu Zagallo 0c74804427 Use dispatch_async instead of lock
Summary: public

The initial implementation used a lock to manage the stored profile information,
blocking the caller thread for longer than it should. Replace it with a private
queue, since the only thing we need to from the caller is to record the immediate
call time and the caller thread/queue, all the rest has absolutely no priority.

Use macros to also defer work done when generate the name of the events.

Reviewed By: nicklockwood

Differential Revision: D2603120

fb-gh-sync-id: e3e36160c893e7ae9ed3558f07c854ea76396661
2015-11-04 09:03:01 -08:00
..
Base Use dispatch_async instead of lock 2015-11-04 09:03:01 -08:00
Executors Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
Layout Fix width being ignored when has a value of 0 2015-09-25 15:42:21 -07:00
Modules Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
Profiler Use dispatch_async instead of lock 2015-11-04 09:03:01 -08:00
React.xcodeproj Fixed build for UIExplorer project. 2015-10-27 02:42:26 -07:00
Views Exporting a synchronous UIWebView to JS 2015-11-04 08:44:29 -08:00