Peter: I’ve been using Call worker to display a large ALP Area - 3k to 30k rows and 115 columns. The UI supports a palette that communicates with all of the windows and the windows communicate with each other so that when a value is changed in one window, Call form is used to initiate the update of the display in the other windows. Some of the windows are array-based AreaList Pro areas, others use AreaList Pro displaying records.
"But will try to do a simple test database to check it out.” Sounds like a good idea. -- Douglas von Roeder 949-910-4084 On Fri, Mar 27, 2020 at 2:19 PM Peter Bozek <[email protected]> wrote: > > > On Fri, Mar 27, 2020 at 9:14 PM Douglas von Roeder <[email protected]> > wrote: > >> Peter: >> >> "My understanding of a worker is a process that can (potentially) run on >> different core or processor - what means, communicating with other >> processes with messages only, limited ability to share data, no >> interprocess variables, no GET / SET PROCESS VARIABLE and no UI.” >> I don’t see anything that indicates that the means by which a process is >> created impacts whether or not that process runs preemptively. Most UI >> commands are not preemptive. >> > > I believe that above commands cannot be used with workers even if worker > does not run preemptive method. > > >> "However, thinking about it, as user process is a worker, and it should >> be able to display UI, collaborative workers may be able to display UI.” >> Process 1 will display UI in V18, compiled. >> >> "But all 4D examples of worker's code use CALL FORM to display UI, so I >> would not try to display UI from a worker." >> Call form is a means of communicating with a form. It doesn’t tie back to >> how a process is invoked. >> > > In the examples, worker never displays UI, rather uses CALL FORM to > display its status in form displayed in another process. As I understand > it, it is not just because examples wanted to demonstrate communication > between worker and another process, but a feature of worker - it needs > another process to display UI. But will try to do a simple test database to > check it out. > > Peter Bozek > > ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

