symbian: synchronously events with RunL - maybe solution to the stuck problem in symbian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 10, 2009 at 6:47 AM, nir elkayam <nir.elkayam at gmail.com> wrote:
> hi benny,
>
> I see what u say but this issue will also raise with using regular async
> events.

The difference is, normally we would expect events to happen inside
the "poll" function, and we can be sure that things are in good state
before the events are executed.

With the CActiveScheduler::Start() approach, now events can happen
pretty much anywhere where this approach is used. Like I said, for
example a timer event may elapse while we're inside pj_sock_send(),
and this is bad.

> is there anyway where u implement the PENDING state on send/sendto (i mean
> other os.)
>

Async I/O is always done with ioqueue.

Cheers
 Benny



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux