From a055cc4637c29b4e816b042ddda0e10a58ea54fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Mon, 14 Jun 2010 08:56:21 +0100 Subject: [PATCH] meta declarations for thread stuff (from Paulo Moura). --- pl/threads.yap | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pl/threads.yap b/pl/threads.yap index 33e8b6866..b50fbf9df 100644 --- a/pl/threads.yap +++ b/pl/threads.yap @@ -16,12 +16,14 @@ *************************************************************************/ :- meta_predicate - thread_create(:,-,:), - thread_create(:,-), - thread_create(:), - thread_at_exit(:), - thread_signal(+,:), - with_mutex(+,:), + thread_initialization(0), + thread_at_exit(0), + thread_create(0, -, :), + thread_create(0, -), + thread_create(0), + thread_signal(+, 0), + with_mutex(+, 0), + thread_signal(+,0), volatile(:). volatile(P) :- var(P),