X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=runtime%2Flwt.c;h=f6bd3467d81eace074f13ef07bee64193c692772;hp=83e8ee1a1306ef8bfa3fc6ddab5bec357bf26c2b;hb=8143ca0acc36e19d004431952e3b6f9b3d337f49;hpb=7899dce86342c50be9a52d148fa27375bdb5d218 diff --git a/runtime/lwt.c b/runtime/lwt.c index 83e8ee1..f6bd346 100644 --- a/runtime/lwt.c +++ b/runtime/lwt.c @@ -6,7 +6,7 @@ */ #include #include "common.h" -#include "runtime_local.h" +#include "rlocal.h" #include "lwt.h" #include "mem.h" @@ -119,8 +119,7 @@ void lwt_dump (const char *file_name) } void lwt_trace_i (const char *format, size_t value1, size_t value2) { - if (halt_) - return; + while (halt_) {} LOCALIZE_THREAD_LOCAL(tid_, int); lwt_buffer_t *tb = lwt_buf_[tid_]; if (tb != NULL) {