David, Wht i mean is that timeout values will be in parallel
Timer1 start --- > 10sec --- > 1sec,2sec,..........10 sec Timer2 start ---> 15sec ----> ........1sec, 2sec ...........................15sec ............... Like this Timer1 and Timer2 will execute in parallel. Can you explain more about how to acheive this using sorted list ? U mean we need to sort them (ascending or descending )and execute ? I didnt get this point. Please explain this point ... Do your app using parallel timers ? Regards Girish On Feb 2, 8:03 am, David Given <d...@cowlark.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Girish wrote: > > As middleware application demands the timeout values cant be kept in > > sorted list. Say i have timeout values 10000,3000,150000,17000 .....so > > it cant workout ... Is there any alternative way to acheive this ? > > I'm afraid I don't follow you here. How can the application not allow > you to store the timers in a sorted list? I assume you're writing an > interface layer between the application's API and the kernel/libc API; > surely you're allowed to implement timers however you like? > > (This is precisely the approach we've taken with our product to > implement timers on Android.) > > - -- > David Given > d...@cowlark.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD8DBQFJhmKXf9E0noFvlzgRAtbLAKDMJMPbl1oLDFB0cP9Vmfwp1klH/wCbBgtH > FHErduvnu4M1qjoehs386Vc= > =dtbv > -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---