Euphoria Ticket #782: Make http.e multi-tasking friendly

From forum post:

useless said...

In

function execute_request() 

, find line

content &= data 

, insert this on the line below it:

task_yield() 



Somewhere at the top, add

include std/task.e -- for task_yield() 

.

Now run news.e again and see the downloads competing independantly of each other.

Details

Type: Feature Request Severity: Normal Category: Library Routine
Assigned To: mattlewis Status: Fixed Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.1.0

1. Comment by mattlewis Sep 13, 2012

See: hg:euphoria/rev/ad159715a8af

changeset: 5657:ad159715a8af parent: 5652:e0a5f362d6ab user: Matt Lewis date: Thu Sep 13 15:33:06 2012 -0400 files: docs/release/4.1.0.txt include/std/net/http.e description:

  • http.e downloads now yield in a multi-tasking environment
  • fixes ticket 782

Search



Quick Links

User menu

Not signed in.

Misc Menu