Make the context that was passed to the ThreadFunction accessible.
Created attachment 49477 [details] Patch
I can't think of any way to test this using a layout test
Comment on attachment 49477 [details] Patch r=me but because there are nits to fix, cq=- > --- a/JavaScriptCore/wtf/ThreadingPthreads.cpp > +++ b/JavaScriptCore/wtf/ThreadingPthreads.cpp > @@ -53,7 +53,13 @@ > > namespace WTF { > > -typedef HashMap<ThreadIdentifier, pthread_t> ThreadMap; > +typedef struct { > + pthread_t handle; > + void* context; > +} ThreadInfo; > + extra new line > + > +typedef HashMap<ThreadIdentifier, ThreadInfo> ThreadMap; > > static Mutex* atomicallyInitializedStaticMutex; >
Created attachment 49481 [details] patch
Comment on attachment 49481 [details] patch Clearing flags on attachment: 49481 Committed r55234: <http://trac.webkit.org/changeset/55234>
All reviewed patches have been landed. Closing bug.