Commit 79c6bd0
committed
locale.c: Critical section around initializing a global
This code should only have a race in the unlikely event that it is an
embedded perl, and there is another perl already running. But best to
avoid the possibility at all.1 parent 433aa97 commit 79c6bd0
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6335 | 6335 | | |
6336 | 6336 | | |
6337 | 6337 | | |
6338 | | - | |
| 6338 | + | |
| 6339 | + | |
| 6340 | + | |
| 6341 | + | |
| 6342 | + | |
| 6343 | + | |
6339 | 6344 | | |
6340 | 6345 | | |
| 6346 | + | |
6341 | 6347 | | |
6342 | 6348 | | |
6343 | 6349 | | |
| 6350 | + | |
6344 | 6351 | | |
6345 | 6352 | | |
6346 | 6353 | | |
| |||
0 commit comments