From 24cf8c08d811b5af83153e6ef0ea33a3a4e1774d Mon Sep 17 00:00:00 2001 From: Phil Dawes Date: Wed, 23 Sep 2009 19:08:06 +0100 Subject: [PATCH] renamed mttest vocab to native-thread-test --- .../native-thread-test.factor} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename extra/{mttest/mttest.factor => native-thread-test/native-thread-test.factor} (88%) diff --git a/extra/mttest/mttest.factor b/extra/native-thread-test/native-thread-test.factor similarity index 88% rename from extra/mttest/mttest.factor rename to extra/native-thread-test/native-thread-test.factor index 90a398c59a..16eff168d4 100644 --- a/extra/mttest/mttest.factor +++ b/extra/native-thread-test/native-thread-test.factor @@ -1,6 +1,6 @@ USING: alien.syntax io io.encodings.utf16n io.encodings.utf8 io.files kernel namespaces sequences system threads unix.utilities ; -IN: mttest +IN: native-thread-test FUNCTION: void* start_standalone_factor_in_new_thread ( int argc, char** argv ) ; @@ -17,7 +17,7 @@ M: unix native-string-encoding utf8 ; { "-run=tetris" } start-vm-in-os-thread drop ; : start-testthread-in-os-thread ( -- ) - { "-run=mttest" } start-vm-in-os-thread drop ; + { "-run=native-thread-test" } start-vm-in-os-thread drop ; : testthread ( -- ) "/tmp/hello" utf8 [ "hello!\n" write ] with-file-appender 5000000 sleep ; -- 2.34.1