Skip to content

Commit 66b7bd0

Browse files
committed
Don't use sigatomic before current task is available
1 parent 0e2d835 commit 66b7bd0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/staticdata.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,8 +3552,6 @@ JL_DLLEXPORT jl_image_buf_t jl_preload_sysimg(const char *fname)
35523552
jl_errorf("System image file \"%s\" not found.", fname);
35533553
ios_bufmode(&f, bm_none);
35543554

3555-
JL_SIGATOMIC_BEGIN();
3556-
35573555
ios_seek_end(&f);
35583556
size_t len = ios_pos(&f);
35593557
char *sysimg = (char*)jl_gc_perm_alloc(len, 0, 64, 0);
@@ -3564,8 +3562,6 @@ JL_DLLEXPORT jl_image_buf_t jl_preload_sysimg(const char *fname)
35643562

35653563
ios_close(&f);
35663564

3567-
JL_SIGATOMIC_END();
3568-
35693565
jl_sysimage_buf = (jl_image_buf_t) {
35703566
.kind = JL_IMAGE_KIND_JI,
35713567
.handle = NULL,

0 commit comments

Comments
 (0)