Hi David, I did repo sync today again. Even in the latest release, it is broken. Is somebody working on it?
I really appreciate your help on this. Regards, -Ravi On Fri, Jan 23, 2009 at 2:18 PM, Ravi Kumar BS <[email protected]> wrote: > Hi David, > > After seeing your below mail, I again tested with the exact timer_test.c > file that I sent you. I can see it working here. This is how i built it, > > gcc -lrt timer_test.c > > Following is the log, > > ----------------------------------------------- > os_timer_start: REQ to start timer. exp time = 10000 msec > timer id is 134520840 > os_timer_start: timer started successfully > ==== SLEEP > ==== SLEEP > ==== SLEEP > ==== SLEEP > ==== SLEEP > ============= os_timer_cb called ============ > ==== SLEEP > ==== SLEEP > ----------------------------------------------- > > > If I run the same code on zoom2 android, os_timer_cb is not getting called. > > I really appreciate your efforts, give the fact that you are busy with > other things. Please see if you can spend some time on this. > > Regards, > -Ravi > > > On Fri, Jan 23, 2009 at 1:54 PM, David Turner <[email protected]> wrote: > >> Hello Ravi, >> >> I had not the time to take a very deep look, but the code you sent me >> doesn't seem to work when run on a standard Linux distribution. >> I would assume there is something wrong with it, but I'm unfortunately too >> busy to inspect it further. >> >> hope this helps >> >> >> On Fri, Jan 23, 2009 at 11:11 AM, ravikbsh <[email protected]> wrote: >> >>> >>> Hi David, >>> >>> I have sent you the code. Please let me know if you have any clue. >>> >>> Thanks, >>> -Ravi >>> >>> On Jan 22, 5:53 pm, David Turner <[email protected]> wrote: >>> > please send them to me directly ([email protected]) >>> > (or if the source is small, just inline it here) >>> > >>> > >>> > >>> > On Thu, Jan 22, 2009 at 3:18 PM, ravikbsh <[email protected]> wrote: >>> > >>> > > Hi David, >>> > >>> > > Thanks for the quick reply. Yes, i have the complete test code and >>> the >>> > > make file which simulates this problem. >>> > > How do it send them? I dont see any option to attach source code. >>> > >>> > > On Jan 22, 4:42 pm, David Turner <[email protected]> wrote: >>> > > > Hmmm, do you have a small and complete source file for a test that >>> > > exhibit >>> > > > the problem ? >>> > >>> > > > timer management has been modified to properly implement >>> SIGEV_THREAD >>> > > > timers, >>> > > > however SIGEV_SIGNAL ones should not be impacted. >>> > >>> > > > are you sure you don't have the signal blocked ? >>> > >>> > > > On Thu, Jan 22, 2009 at 2:17 PM, ravikbsh <[email protected]> >>> wrote: >>> > >>> > > > > I am trying to port timer APIs to Zoom2 running android. I see >>> that, >>> > > > > when i call timer_create, it returns 0 (meaning success). Then >>> the >>> > > > > callback never gets called. Following is the code snippet, >>> > >>> > > > > sigev.sigev_notify = SIGEV_SIGNAL; >>> > > > > sigev.sigev_signo = signo; >>> > > > > sigev.sigev_value.sival_ptr = timerid; >>> > > > > sigev.sigev_value.sival_int = timer; >>> > >>> > > > > timer_create(CLOCK_REALTIME, &sigev, timerid); >>> > >>> > > > > If this can help, the same code works on Zoom1. Also I have tried >>> with >>> > > > > SIGEV_NONE with the same result. >>> > >>> > > > > It this broken in the recent release?- Hide quoted text - >>> > >>> > > > - Show quoted text -- Hide quoted text - >>> > >>> > - Show quoted text - >>> >>> >> >> >> >> > > > -- > B.S.Ravi Kumar > -- B.S.Ravi Kumar --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
