Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Marco van de Voort
> On dinsdag, sep 16, 2003, at 15:34 Europe/Brussels, Marco van de Voort > wrote: > > >> This has nothing to do with unix <-> BeOS. For example, Solaris is > >> definitely Unix and also uses the concept of light weight processes. > > > > Light weight processes are a Unix feature. > > Not all Uni

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Jonas Maebe
On dinsdag, sep 16, 2003, at 15:34 Europe/Brussels, Marco van de Voort wrote: This has nothing to do with unix <-> BeOS. For example, Solaris is definitely Unix and also uses the concept of light weight processes. Light weight processes are a Unix feature. Not all Unixes have light weight process

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Marco van de Voort
> On dinsdag, sep 16, 2003, at 14:55 Europe/Brussels, Matt Emson wrote: > > > Got you. So the correct term would be 'multiprocess'. I always forget > > that > > UNIX considers processes to be seperate to threads. BeOS does things > > slightly differently. We have the notion of 'teams'. A thread b

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Jonas Maebe
On dinsdag, sep 16, 2003, at 14:55 Europe/Brussels, Matt Emson wrote: Got you. So the correct term would be 'multiprocess'. I always forget that UNIX considers processes to be seperate to threads. BeOS does things slightly differently. We have the notion of 'teams'. A thread belongs to a 'team'.

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Matt Emson
> Multithreaded applications share the same memory space. > Forked applications are truly separate applications, they have a different memory > space. Got you. So the correct term would be 'multiprocess'. I always forget that UNIX considers processes to be seperate to threads. BeOS does things sli

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Michael Van Canneyt
On Tue, 16 Sep 2003, Matt Emson wrote: > Michael, forgive me if I am wrong - I am not a Unix buff - but I was under > the impression that forking was a method for creating multithreaded unix > apps?!? Everytime you fork() you end up with two seperate processes running > concurrently. You differe

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Matt Emson
Michael, forgive me if I am wrong - I am not a Unix buff - but I was under the impression that forking was a method for creating multithreaded unix apps?!? Everytime you fork() you end up with two seperate processes running concurrently. You differentiate between them by chacking the result given b

Re: [fpc-pascal]fork with forked program

2003-09-16 Thread Michael Van Canneyt
On Tue, 16 Sep 2003, [iso-8859-2] Balázs Csaba wrote: > I want to use fork to make multithread application for sockets and I would > like to fork it to run in dameon mode. Multithread is not possible with Fork() > Can I fork the forked program? With call fork I get 0 in result in child. This