Diff
Not logged in

Differences From Artifact [e1e39d2f2e]:

To Artifact [0f868f68a8]:


1330
1331
1332
1333
1334
1335
1336



1337
1338
1339
1340
1341
1342
1343
 *
 *----------------------------------------------------------------------
 */

static void
AtForkPrepare(void)
{



}

/*
 *----------------------------------------------------------------------
 *
 * AtForkParent --
 *







>
>
>







1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
 *
 *----------------------------------------------------------------------
 */

static void
AtForkPrepare(void)
{
    Tcl_MutexLock(&notifierMutex);
    TclpMasterLock();
    TclpMutexLock();
}

/*
 *----------------------------------------------------------------------
 *
 * AtForkParent --
 *
1351
1352
1353
1354
1355
1356
1357



1358
1359
1360
1361
1362
1363
1364
 *
 *----------------------------------------------------------------------
 */

static void
AtForkParent(void)
{



}

/*
 *----------------------------------------------------------------------
 *
 * AtForkChild --
 *







>
>
>







1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
 *
 *----------------------------------------------------------------------
 */

static void
AtForkParent(void)
{
    TclpMutexUnlock();
    TclpMasterUnlock();
    Tcl_MutexUnlock(&notifierMutex);
}

/*
 *----------------------------------------------------------------------
 *
 * AtForkChild --
 *
1372
1373
1374
1375
1376
1377
1378


1379
1380
1381
1382
1383
1384
1385
1386
 *
 *----------------------------------------------------------------------
 */

static void
AtForkChild(void)
{


    Tcl_MutexFinalize(&notifierMutex);
    Tcl_InitNotifier();
}
#endif /* HAVE_PTHREAD_ATFORK */

#endif /* TCL_THREADS */

#endif /* !HAVE_COREFOUNDATION */







>
>
|







1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
 *
 *----------------------------------------------------------------------
 */

static void
AtForkChild(void)
{
    TclpMutexUnlock();
    TclpMasterUnlock();
    TclMutexUnlockAndFinalize(&notifierMutex);
    Tcl_InitNotifier();
}
#endif /* HAVE_PTHREAD_ATFORK */

#endif /* TCL_THREADS */

#endif /* !HAVE_COREFOUNDATION */