yaa i'm using Netlib..I'm using a  nonblocking socket.
Actually the confusion is
* how to simultaneously record and stream data.!!
*secondly..how to play the received data simulataneously as its arriving.

I've already made a recorder which is working fine!!






******************************************
    ----- Original Message ----- 
From: "zze-URIA RECIO Pedro FTRD/DMR/ISS"
<[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 2004 3:32 PM
Subject: RE : Multi Threading in Palm OS!


> Are you using sockets (netlib) to receive your messages?
>
>
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Gaurav
Mengi
> Envoy� : jeudi 10 juin 2004 11:58
> � : Palm Developer Forum
> Objet : Re: Multi Threading in Palm OS!
>
>
> hi Friends,
>                  I'm making Voice Chat application.
> What I'm doing is:
> *First record the message and then send.
> *At the receiving side I'm able to get only one packet and others are
lost.
>
> Is it possible that using some Multithreading features..i can spawn some
process which handles the streaming of outgoing data and incoming data.
>
> Or can ne one suggest some thing related to this application..so that data
shud appear stream properly.
>
>
> ----- Original Message ----- 
> From: "Matthew Bevan" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Wednesday, June 09, 2004 11:33 PM
> Subject: RE: Multi Threading in Palm OS!
>
>
> > I think I'm seeing confusion between the terms multi-thread and
> multi-task.
> > PalmOS, even early versions, had a kernel that supported multi-tasking
> > for system use only, due to the license restrictions in place by the
> > company
> who
> > wrote it.  No application had system-supported multi-threading.
> > PalmOS 6+ will have full multi-tasking and multi-threading capability,
> > as the kernel was pretty much re-written from scratch.
> >
> > PalmOS 5 creates a new system task when streaming audio, allowing
> > music players to continue to play in the background.
> >
> > You can support non-preemptive multi-threading in your own
> > application,
> but
> > that requires playing with system registers and the instruction
> > pointer a LOT.  I wrote a non-preemptive threading library for Turbo
> > Pascal 3 long, long ago, but have never found a particular need for
> > that feature on the Palm.  Nil events are good enough for me. ^_^
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > zze-URIA RECIO Pedro FTRD/DMR/ISS
> > Sent: Wednesday, June 09, 2004 9:50 AM
> > To: Palm Developer Forum
> > Subject: RE : Multi Threading in Palm OS!
> >
> > Palm OS 5 is multithread in a very loww OS level but it is MONOTHREAD
> > for
> a
> > user application:
> > However you can simulate a relative multithread:
> > * by using alarms, the problem is that the finest alarm granularity is
> > 1 second. I don't know if that suits you
> > * by enabling socket notifications if your application uses sockets.
> > This way, your thread does not care about reading socket. It is an OS
> > internal thread who does it.
> >
> > Pedro URIA-RECIO
> >
> > R&D Engineer - France Telecom R&D (FTR&D/DMR/SRS) Satellite Services
> > and Networks Laboratory 38-40 rue du G�n�ral Leclerc, 92794
> Issy-Les-Moulineaux
> > Cedex 9 FRANCE
> >
> > T�l:  +33 (0) 1 45 29 66 98
> > Fax:  +33 (0) 1 45 29 45 34
> > E-mail: [EMAIL PROTECTED]
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/support/forums/
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> >
> >
>
>
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to