🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #993

Re: wrapper

#993
From: Philip Paeps
Date: Thu, 16 Feb 2006 07:00
25 lines
1794 bytes
Christian R <Christian.Rosseel@pandora.be> wrote:
> Om eerlijk te zijn begrijp ik er een bepaald stukje niet van, namelijk: a
> synchronized (thread-safe) wrapper.

Ik ken ``VB.net'' (gelukkig) niet, maar in een normale omgeving is een
thread-safe implementatie er eentje die op reentrancy voorzien is door van de
caller te eisen dat hij zelf een buffer voorziet voor "output" van de functie.

In een normale taal zijn thread-safe functies doorgaans suffixed met _r.

> Kan er mij aub iemand vertellen, wat dit betekend?

Als je niet weet wat 'thread synchronization' inhoudt, zul je daar toch een
goed boek over moeten raadplegen voor je multi-threaded code begint te
schrijven...

 - Philip

-- 
Philip Paeps                              Please don't email any replies
philip@paeps.cx                               I follow the newsgroup.

  The primary function of the design engineer is to make
  things difficult for the fabricator and impossible
  for the serviceman.
Technical Details
Message-ID: <slrndv88oh.iv.philip+usenet@fasolt.home.paeps.cx>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <RyOIf.259544$r_3.7555162@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,de60eaf60917b5f5
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Philip Paeps <philip+usenet@paeps.cx>
Newsgroups: be.comp.programming
Subject: Re: wrapper
Date: 16 Feb 2006 07:00:33 GMT
Organization: Happily Disorganized
Lines: 25
Message-ID: <slrndv88oh.iv.philip+usenet@fasolt.home.paeps.cx>
References: <RyOIf.259544$r_3.7555162@phobos.telenet-ops.be>
X-Trace: individual.net nECIM36Ebl+CTbIeVC4AZQvF7n0gPhNpLIDbJy5cFfJ0rSvpYE
X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3  FC53 BF4B D0E6 049D B879
X-Date-in-Rome: ante diem XIV Kalendas Martias MMDCCLIX ab Urbe Condida
User-Agent: slrn/0.9.8.1 (FreeBSD)