On Thu, 30 Jun 2005, Pablo Mora wrote:
> >Not sure I understand the question. What do you mean by S.O?
>
> , sorry by my badly english, the correct word is O.S (operative system).
>
> >you saying that since the threads are POSIX, that you would >expect
> the program to act the same on all Operati
>Not sure I understand the question. What do you mean by S.O?
, sorry by my badly english, the correct word is O.S (operative system).
>you saying that since the threads are POSIX, that you would >expect
the program to act the same on all Operating Systems?
exactly, that thought before your a
On Tuesday 28 June 2005 07:58 pm, Pablo Mora wrote:
> Ok, I understand, but by being threads POSIX should be executed of the
> same one in any type of S.OR?
Not sure I understand the question. What do you mean by S.O? Are you saying
that since the threads are POSIX, that you would expect the pr
S.O , sorry
--
Concepción, Chile.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ok, I understand, but by being threads POSIX should be executed of the
same one in any type of S.OR?
thanks to all
--
Concepción, Chile.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscrib
On Monday 27 June 2005 01:32 am, Pablo Mora wrote:
> /* file: test.c */
> #include
> #include
> #include
> #include
> #include
>
> char buffer[512];
> pthread_mutex_t mutex, mutex2;
> pthread_t hilo1, hilo2;
>
> void f1(void* ptr)
> {
> int i,n=10;
> int valor=0;
> char*p=(char*)p
/* file: test.c */
#include
#include
#include
#include
#include
char buffer[512];
pthread_mutex_t mutex, mutex2;
pthread_t hilo1, hilo2;
void f1(void* ptr)
{
int i,n=10;
int valor=0;
char*p=(char*)ptr;
for(i=0;ihttp://lists.freebsd.org/mailman/listinfo/fr
Hi, very thanks you... i running fbsd v4.11 stable.
--
Concepción, Chile.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
In the last episode (Jun 26), Pablo Mora said:
> int main() {
>
> if(pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM) != 0)
> /* handler */
>
> }
>
> $ gcc taller.c -pthread
> $ ./a.out
> pthread_attr_setscope: Unknown error: 0
> $
>
> PTHREAD_SCOPE_SYSTEM fail on freebsd ?
/* file: taller.c */
int main() {
if(pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM) != 0)
/* handler */
}
$ gcc taller.c -pthread
$ ./a.out
pthread_attr_setscope: Unknown error: 0
$
PTHREAD_SCOPE_SYSTEM fail on freebsd ?
help me please...
very thanks...
--
Concepción
10 matches
Mail list logo