Re: [Fwd: Re: [fpc-pascal] spin_lock]

2006-05-31 Thread Burkhard Carstens
[..] > > So what about this: > > modify your drivers sample routine that it takes a timestamp > > (time_for_next_sample) and returns a timestamp (last_sampled) > > together with your voltage value. in the sample routine take your > > spin_lock, loop until currenttime > time_for_next_sample, get you

[Fwd: Re: [fpc-pascal] spin_lock]

2006-05-31 Thread Alain Michaud
(Burkhard: my mistake. Sorry ) Hi, thank you for your message. I find it VERY usefull! I have many questions: 1-- Keep in mind that I need the processor for a period of 100 milisecond ONLY. After that, my process can be off for 10 seconds or more... Between the 'critical sections', there is p

Re: [fpc-pascal] spin_lock

2006-05-31 Thread Burkhard Carstens
Alain, I think I got a personal mail from you, but I deleted it before I realized that it's not spam (still sleepy :-). This email is for mailing list only, so any mail not coming from the mailing list is automatically dropped to the spam folder.. Could you resend it on the list? Burkhard __

Re: [fpc-pascal] writeln in fpc 2.0.2

2006-05-31 Thread Michael Van Canneyt
On Tue, 30 May 2006, Gustavo Enrique Jimenez wrote: > You MUST remove the CRT unit. > It's mentioned explicitly in the documentation that you are not allowed to use it for CGI. > I've removed all crt references. My cgi app works perfectly now. As an unexpected side effect, this app works