Rebol Talk Forum  |  Getting Started  |  Ask the Guru! (Moderator: Carl)  |  Topic: Multi-threading with Rebol 3.0 ?
Pages: [1] Print
Author Topic: Multi-threading with Rebol 3.0 ?  (Read 220 times)
deglingo
Newbie
*
Offline Offline

Posts: 8


View Profile
Multi-threading with Rebol 3.0 ?
« on: July 30, 2008, 12:25:00 PM »

Hi everybody,

Do we know if multi-threading will be possible in REBOL 3.0 ? If YES, as users, do we know how we will able to use it ? Will it be possible to instantiate threads (a sort of "make thread!") and start them like in JAVA (thread/start) ? Or, will it be completely different ? Is is already part of REBOL 3.0 alpha release ?

Thanks for your comments.
« Last Edit: July 30, 2008, 01:54:07 PM by deglingo » Logged
-pekr-
Newbie
*
Offline Offline

Posts: 7


View Profile
Re: Multi-threading with Rebol 3.0 ?
« Reply #1 on: July 31, 2008, 09:10:55 AM »

Hi,

R3 will have tasks, those will be OS level threads however. The concept should be easier though, e.g. no ability to share memory in threads IIRC etc. So far the syntax is:

do make task! [wait 10 print "hello"]

now do some other stuff in console and above string should be printed. IIRC R3 tasks are not completed, because it somehow relates to modules, which are not finished either.

-pekr-
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Ask the Guru! (Moderator: Carl)  |  Topic: Multi-threading with Rebol 3.0 ?
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2008, 09:56:02 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2287 Posts in 593 Topics by 3727 Members
Latest Member: Maximinioles

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc