Re: lug-bg: Imam nujda ot...
- Subject: Re: lug-bg: Imam nujda ot...
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Mon, 19 Aug 2002 16:07:47 +0300
On Monday 19 August 2002 15:23, Konstantin Kolev wrote:
> Ami iskam da vidia(i da gi polzvam) source coda na funkciite cond_init,
> cond_wait, cond_signal i t.n. Tezi funkcii naistina imat analogichni v
> UNIX, koito sa sys syshtite imena samo che otpred imat pthread_ i sa v
> pthread.h faila kakto vie si mislite pravilno!:))
> Tia moite funkcii sa bez pthread_ otpred i sa po Solaris standarta za
> tova niamat pthread_ otpred. Ima gi v header fail synch.h (s malka bukva)
> ili pone taka pishe v Internet!
> Ta triabva mi source coda na tia funkcii ili pone header faila iskam da
> moga da si polzvam(ako niama drug variant). Moita cel e da napisha
> analogichni funkcii na tezi(naistina za synchronizacia na tredove, chrez
> tezi funkcii i uslovnite promenlivi koito te polzvat - tova e edinia
> nachin), no imam malko inf za tova kakvo tochno praviat i za tova iskam
> da pogledna originalnite(po Solaris, ili UNIX) i da se orientiram malko!
> Tova e ako oshte neshto ne sym obiasnil pitaite....
toplih az kakvo imash predvid ... makar i kysno ;-)
naj-dobre e da si instaliarash double-boot Linux i Solaris x86 (Solaris-a
eventualno za test builds and docs, man pages, etc)... kato na Linux dobavqsh
i sources ot http://sctl.sourceforge.net/ za da mozhesh da portirash
po-lesno Solaris way thread apps (Solaris Threads API) kym POSIX 1003.1c
(taka li beshe?) systemi kato Linux, FreeBSD, Tru64... (e.g. The
Solaris-compatible Thread Library (ScTL) is a piece of open-source software
that enables applications that use the Solaris threads API (thr_create(),
mutex_lock(), etc.) to be ported to other systems that have a POSIX threads
library. ScTL provides a layer between the application and the POSIX threads
library that maps between the Solaris and POSIX thread data types and
functions, and adds thread functionality.)
(tova maj ti e edinstvenoto spasenie)...
Ina4e za info bez vyobste da se zamishlqsh i pritesnqvash pitash google.com
za synch.h, cond_signal, pthread_cond_signal i t.n. ste te preprati kym Unix
man pages, mail lists, news groups, resources ot Compaq i t.n.
Am ... kato gledam sources na tova ScTL mozhe da imash malko grizhi s
build-a, e.g. gnumake e make .. no ste go preborish da se izkompilira vse
nqkak;-)
P.S. ne sym coder i sym dotuk .. aaam ... vikam da ostavim "vie" ;-)
--
Greets, fr33zb1
[catching up with Sid (the boy next door who destroyed toys :-)]
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|