Author Topic: ThreadFunc buggy?  (Read 1258 times)

0 Members and 1 Guest are viewing this topic.

Offline urraka

  • Soldat Developer
  • Flagrunner
  • ******
  • Posts: 703
ThreadFunc buggy?
« on: May 27, 2007, 05:06:55 pm »
I'm having some trouble when using ThreadFunc. Everything seems to work fine most of the time, but sometimes I get errors like these:

  • Run-time error (whoonline_URL): Invalid Opcode
  • Run-time error (whoonline_URL): Out Of Range


In that example, whoonline_URL is just a procedure that given a string calls GetURL. This is not the only thing that's causing errors, it seems that most of the procedures called in another thread tend to cause errors like those. It doesn't happen all of the time, though. But it gets annoying.

Is there anything I should know about thread that I don't know?
urraka

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: ThreadFunc buggy?
« Reply #1 on: May 27, 2007, 09:27:32 pm »
ThreadFunc is buggy, hence why it isnt documented... duh

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: ThreadFunc buggy?
« Reply #2 on: May 27, 2007, 10:12:31 pm »
maybe it would be better (for clarity's sake) if you documented new/unstable/broken features, and just made sure to label them as new/unstable/broken in the documentation, rather than make them a gray area that nobody knows about.

Offline sai`ke

  • Camper
  • ***
  • Posts: 318
  • Can't be arsed to remove christmas avatar
Re: ThreadFunc buggy?
« Reply #3 on: May 28, 2007, 07:33:04 am »
Would be nice. Especially since there are still references to threadfunc you run into every now and then.
#soldat.ttw #ttw.gather --- Quakenet!
http://ttwforums.com