Search found 22 matches: polling

Return to advanced search

sleep function

... could block a program. I talk about a program that is active on a server without human's interactivity with an active Timer with a 60" polling. This polling launches a function (FUNCTION POLLING() that performs a lot of things and sometimes I introduce some waits using sleep function ...
by MarcoBoschi
Fri May 26, 2023 8:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: sleep function
Replies: 2
Views: 213

Re: how to update a remote DBF

... in a log dbf table every time a user touch a record (User=001 Dbf=Customer Recno=10 Do=20190730140301) - a program that is always active read in polling from this log table if there are news records to process and if a new records is found: open local dbf open remote dbf (they are identical in ...
by MarcoBoschi
Tue Jul 30, 2019 12:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to update a remote DBF
Replies: 17
Views: 2605

OT: ASP script in IIS

... by a win32 program 2 - An application server program written in fivewin/xharbour that performs calculations and creates a pdf This program is in polling mode, that is, the program checks if there are new requests from the web The question is is: to avoid that this program runs 24/7 is it possible ...
by MarcoBoschi
Sun Apr 07, 2013 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: ASP script in IIS
Replies: 0
Views: 443

Re: FiveWin + Com Port with Terminal Server

A timer is needed only for polling technique not for the better interrupt technique that my sample uses.

EMG
by Enrico Maria Giordano
Fri Nov 04, 2011 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWin + Com Port with Terminal Server
Replies: 3
Views: 705

Re: which is the fastest way to load contets of a DBF into an Ar

... but the problem is another: When a Record is modified I write in a log file these two informations: table_name, record_number Search32 process is polling looking in log file every new request: there are two kinf of requests: search request and update record request. This is the source code of ...
by MarcoBoschi
Wed Jun 22, 2011 7:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: which is the fastest way to load contets of a DBF into an Ar
Replies: 12
Views: 3552

Re: Codejock Calendar Samples?

... if an event has occurred. On a single threaded app, you test for notifications by using a repeated periodic call with short timeouts -i.e. "polling". But not polling the table but rather polling for the event notification. Due to its nature, polling will not actually notify the client ...
by hmpaquito
Fri Jan 21, 2011 10:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46483

Re: Codejock Calendar Samples?

... autorefreshes anytime a notification that affects the census is received. As you see here, there is no disk-read-write-buffering of any kind. The polling is for messages not the actual table. The message is issued by the server as a response to an update/delete/insert operation. Furthermore, to ...
by reinaldocrespo
Fri Jan 21, 2011 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46483

Re: Codejock Calendar Samples?

... we need to monitor for a calendar update, is to check to see if the date and time of the DBF has been changed? This could be done with a simple polling routine as you mentioned. To check for an update, we could store the date and time as statics in a function, then just call the function in ...
by James Bott
Fri Jan 21, 2011 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46483

Re: Codejock Calendar Samples?

... if an event has occurred. On a single threaded app, you test for notifications by using a repeated periodic call with short timeouts -i.e. "polling". But not polling the table but rather polling for the event notification. Due to its nature, polling will not actually notify the client ...
by reinaldocrespo
Fri Jan 21, 2011 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46483

Re: Fulltextsearch (to Marco Boschi)

... a client/server application Server side I load into an array the content of dbf table at startup At the end of this initial operation this app in polling mode wait for requests from clients. A client makes a request to server that: - perform search - create index the client when index is created ...
by MarcoBoschi
Wed Nov 10, 2010 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9336

Re: create and use an index for a set of records

... containing the records that I find the string passed as parameter. I put this function in a application that run in a server (search32.exe) in polling mode. Result of every request from clients is an index creation or an Array containing matching record. #include "fivewin.ch" #include ...
by MarcoBoschi
Tue Aug 03, 2010 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create and use an index for a set of records
Replies: 10
Views: 2133

Re: Multithreads with FWH

... (or zero) timeout period. I set a fw-timer that executes the ADS stored procedure sp_WaitForEvent() with zero timeout period. In a nutshell, I'm polling every x seconds for the event message. Once the message is received, I then trigger the desired action. I've learned to look for ways to solve ...
by fraxzi
Tue Jul 06, 2010 6:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreads with FWH
Replies: 30
Views: 12126

Re: Multithreads with FWH

... (or zero) timeout period. I set a fw-timer that executes the ADS stored procedure sp_WaitForEvent() with zero timeout period. In a nutshell, I'm polling every x seconds for the event message. Once the message is received, I then trigger the desired action. I've learned to look for ways to solve ...
by reinaldocrespo
Tue Jun 22, 2010 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreads with FWH
Replies: 30
Views: 12126

Re:

... information to refresh the browse or turn a red dot somewhere without pausing to re-read the table every n seconds for critial updates. ie... no polling. But ADS notifications are blocking calls (the call does not complete until a signal is received) therefore we would need to issue a new thread ...
by fraxzi
Tue Jun 22, 2010 6:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreads with FWH
Replies: 30
Views: 12126

CTRL+C+C

Hi,
I have to simulate pressing CTRL + C + C to send a string to another program that runs in the tray icon. I think that it perform polling and read from "office" clipboard.
Is it possible?
Thanks
Marco
by MarcoBoschi
Mon Mar 08, 2010 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CTRL+C+C
Replies: 4
Views: 1022
Next

Return to advanced search