Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Advanced GUI with threads

by BrowserUk (Patriarch)
on Sep 10, 2013 at 16:57 UTC ( [id://1053320]=note: print w/replies, xml ) Need Help??


in reply to Re: Advanced GUI with threads
in thread Advanced GUI with threads -working

If you want anyone to even consider you problem, you'll need to reproduce that problem with a piece of working, runnable code that is 20 or 30 lines ling at most.

You appear to creating a thread for which your code contains no subroutine.:

threads->create("executejob")->detach();

A quick scan down your pile of code doesn't discover any subroutine called executejob. That, combined with the absence of strict & warnings and the shear size of you code mans I cannot be bothered to even download.

You want help, make some effort.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: Advanced GUI with threads
by Anonymous Monk on Sep 11, 2013 at 02:51 UTC

    FWIW sub executejob { is in there ... line 102 of 445 :)

Re^3: Advanced GUI with threads
by glenn (Scribe) on Sep 13, 2013 at 13:14 UTC
    Thank you for taking a look. 'Executejob' is the second sub under '#THREADS' at line 102. I will post a hard coded example to simplify as much as i can but the passing and retrieving from threads is going to remain the real issue. I am thinking of using a 2d global array for storing some objects but have not gone down that path yet.
Re^3: Advanced GUI with threads
by glenn (Scribe) on Sep 13, 2013 at 15:09 UTC
    Plz try latest code, w/strict and warnings. Not much more can be removed or simplified. Thank you for taking a look.

Log In?
Username:
Password:

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

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

    No recent polls found