Move posix_spawn onto a zero delay timer
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 May 2013 18:03:02 +0000 (18:03 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 May 2013 18:03:02 +0000 (18:03 +0000)
commitcea751b77e5ff01e9104468a31c167a6f41d49ca
treeeb46f55d920277f9c2ad520285a737bde1ca383f
parent6d29a7d219e7de4592cead06f2a631d8f72b105d
Move posix_spawn onto a zero delay timer
https://bugs.webkit.org/show_bug.cgi?id=116682

Reviewed by Anders Carlson.

<rdar://problem/13973468>

* Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm:
(ReexecInfo):
    - struct to hold info from the XPC message.
(WebKit::reexec):
    - moved call to posix_spawn out to this helper.
(WebKit::reexecCallBack):
    - calls reexec.
(WebKit::XPCServiceEventHandler):
    - removed call to posix_spawn; schedule a call to reexecCallBack.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm