🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14932

Yield, sleep or wait

#14932
From: Hugo Ferreira
Date: Mon, 19 Jul 1999 00:00
14 lines
722 bytes
Hi,

I know that:

1. sleep places the thread in a wait/suspended state but _does_not_ release
its minitors.
2. wait places the thread in a wait/suspended state but _does_ release its
minitors.

My question is: what does yield do ?

TIA.

Hugo Ferreira.
Technical Details
Message-ID: <7mve5r$fbg9@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,45bb88477a8645d,start
X-Google-Attributes: gidf74b3,public
From: "Hugo Ferreira" <HugoF@cocaina.inescn.pt>
Subject: Yield, sleep or wait
Date: 1999/07/19
Message-ID: <7mve5r$fbg9@forums.borland.com>
X-Deja-AN: 502737940
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700