Back to the month index |
Back to the list index
|
BJARKE CHRISTESEN (d96bc@novell02.sdrborges.dk)
Wed, 26 Nov 1997 09:05:31 +0100
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Anthony Cuykens: "What about the permissions?"
- Previous message: K. David Prince: "Book, the Book..."
- Next in thread: Henrik Olsen: "Re: Synchronisation in msql"
- Maybe reply: Henrik Olsen: "Re: Synchronisation in msql"
From: "BJARKE CHRISTESEN" <d96bc@novell02.sdrborges.dk> Date: Wed, 26 Nov 1997 09:05:31 +0100 Subject: Synchronisation in msql Message-ID: <2ED0C0054A@novell02.sdrborges.dk>Hello
I am a student at advanced computer Studies, and we are using msql in
a project. Now have to show, how there is taken care of
synchronisation problems (readers/writers). Since I don't get any
Answer from Hughes, I guess there may be somebody ou here who has an
idea about where to get some material.
Greetinrgs
Bjarke Christesen
d96bc@novell02.sdrborges.dk
Bjarke Christesen
d96bc@novell02.sdrborges.dk
//In a world without fences,
//who the hell needs Gates ????
From fpojb@nlh10.nlh.no Wed Nov 26 03:05:00 1997
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1])
by services.bunyip.com (8.8.5/8.8.5) with ESMTP id DAA11815
for <msql-list@services.bunyip.com>; Wed, 26 Nov 1997 03:04:59 -0500 (EST)
Received: from nlh750.nlh.no (nlh750.nlh.no [128.39.177.7])
by mocha.bunyip.com (8.8.5/8.8.5) with SMTP id DAA18161
for <msql-list@Bunyip.Com>; Wed, 26 Nov 1997 03:04:57 -0500 (EST)
Received: from nlh10.nlh.no by nlh750.nlh.no with SMTP
(16.7/16.2) id AA22178; Wed, 26 Nov 97 09:12:34 +0100
Received: from fpark.nlh.no (nlhdhcp-182) by nlh10.nlh.no (5.0/SMI-SVR4)
id AA22831; Wed, 26 Nov 1997 09:11:11 +0100
Message-Id: <347BD807.CF8C9F2A@fpark.nlh.no>
Date: Wed, 26 Nov 1997 09:04:23 +0100
From: "O.J." <fpojb@nlh10.nlh.no>
Organization: Forskningsparken i Ås
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: "msql-list@Bunyip.Com" <msql-list@Bunyip.Com>
Subject: and operator
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
does anyone know if Lite supports the AND'ing of values(to find if a
spesific bit is set)?
I have not found any way, and had to make a function wich does it.
A call to the function like and(63,2) would return 1 if the second bit
is set.(or what is the numbering convetion for bit's - are the second
last one the 2'nd bit, or what?)
Comments are very welcome:
funct and(int $val, int $bit)
{
$i = 1;
while ($i < $val)
{
$i = $i * 2;
}
while ($i >= $bit)
{
if ($val >= $i)
{
$val=$val-$i;
$res = 1;
}
else
{
$res = 0;
}
$i = $i / 2;
} /* end while */
return ($res);
} /* end funct */
- Next message: Anthony Cuykens: "What about the permissions?"
- Previous message: K. David Prince: "Book, the Book..."
- Next in thread: Henrik Olsen: "Re: Synchronisation in msql"
- Maybe reply: Henrik Olsen: "Re: Synchronisation in msql"