From 452f4d0a5a5202a42100f495457179c7793bfecb Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Wed, 4 Oct 2000 01:48:44 +0200
Subject: [PATCH] Thread.Mutex.trylock take the same argument as
 Thread.Mutex.lock.

Rev: tutorial/tutorial.wmml:1.211
---
 tutorial/tutorial.wmml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml
index 4cb02243d7..af9d2c79e1 100644
--- a/tutorial/tutorial.wmml
+++ b/tutorial/tutorial.wmml
@@ -5655,12 +5655,13 @@ mutex is already locked by this thread:
 
 <method name=Thread.Mutex-&gt;trylock title="try to lock the mutex">
 <man_syntax>
-Thread.MutexKey trylock();
+Thread.MutexKey trylock();<br>
+Thread.MutexKey trylock(int <i>type</i>);
 </man_syntax>
 <man_description>
 This function performs the same operation as lock(), but if the mutex
-is already locked zero will be returned instead of sleeping until the
-lock is unlocked.
+is already locked, it will return zero instead of sleeping until it's
+unlocked.
 </man_description>
 </method>
 
-- 
GitLab