Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Parallel processing on Windows

by BillKSmith (Monsignor)
on Sep 20, 2022 at 22:04 UTC ( [id://11147036]=note: print w/replies, xml ) Need Help??


in reply to Parallel processing on Windows

If you really intend to use 'cores' you may want to investigate the modules "Many-Core Engine" MCE and its friends. My own experience is limited to running a few examples on windows 7. The application that I had in mind requires Tk which is not compatible with MCE.
Bill

Replies are listed 'Best First'.
Re^2: Parallel processing on Windows -- Tk and MCE
by Discipulus (Canon) on Sep 21, 2022 at 07:53 UTC
    Hello BillKSmith,

    > The application that I had in mind requires Tk which is not compatible with MCE

    this is not entirely true: see Re: Perl Tk and Threads by master zentara:

    > 1. The thread must be created before any Tk widgets are invoked...

    > 2. Do not put any Tk code into the thread, and do not try to access Tk widgets from the thread. Use shared variables to communicate with the main thread, and have a timer or fileevent in the main Tk thread, read from the thread.

    See also Re^3: Parallel download Tk where choroba points to his fully threaded Tk application, which is able to use different threading machanisms on windows, MCE among them.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      Thanks for the correction. It appears that I may have given up to soon.
      Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147036]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-26 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found