Changeset: 5b1a1f5ea1e8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5b1a1f5ea1e8
Modified Files:
        monetdb5/mal/mal_function.c
Branch: default
Log Message:

Use the correct sleep function.


diffs (17 lines):

diff --git a/monetdb5/mal/mal_function.c b/monetdb5/mal/mal_function.c
--- a/monetdb5/mal/mal_function.c
+++ b/monetdb5/mal/mal_function.c
@@ -1108,11 +1108,11 @@ showFlowGraph(MalBlkPtr mb, MalStkPtr st
                if (idcmp(fname, "stethoscope") != 0) {
                        mnstr_close(f);
                        buffer_destroy(bufstr);
-               } else sleep(4000); /* delay for stethoscope */
+               } else MT_sleep_ms(4000); /* delay for stethoscope */
        } else if (f != GDKout) {
                if (idcmp(fname, "stethoscope") != 0) 
                        mnstr_close(f);
-               else sleep(4000); /* delay for stethoscope */
+               else MT_sleep_ms(4000); /* delay for stethoscope */
        }
 }
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to