Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Fibers patch
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Malcolm Handley  
View profile  
 More options Oct 20 2010, 6:32 pm
From: Malcolm Handley <malc...@asana.com>
Date: Wed, 20 Oct 2010 15:32:12 -0700
Local: Wed, Oct 20 2010 6:32 pm
Subject: Fibers patch

Attached is a patch that adds a simple fibers API to v8cgi. It probably
doesn't work on all platforms but we have tested it on the mac and linux.
And it's a module so it shouldn't hurt people who don't want it.

  fibers_patch.txt
18K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Darrell Brogdon  
View profile  
 More options Oct 20 2010, 6:44 pm
From: Darrell Brogdon <darr...@brogdon.net>
Date: Wed, 20 Oct 2010 16:44:38 -0600
Local: Wed, Oct 20 2010 6:44 pm
Subject: Re: Fibers patch
Curious.  What are Fibers?  I'd usually search before asking but I suspect I'd get a massively un-useable result on a word like that. :)

-D

On Oct 20, 2010, at 4:32 PM, Malcolm Handley wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Malcolm Handley  
View profile  
 More options Oct 20 2010, 7:04 pm
From: Malcolm Handley <malc...@asana.com>
Date: Wed, 20 Oct 2010 16:04:53 -0700
Local: Wed, Oct 20 2010 7:04 pm
Subject: Re: Fibers patch

This is a good page to start with:
http://en.wikipedia.org/wiki/Fiber_(computer_science)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ondřej Žára  
View profile  
 More options Oct 21 2010, 2:43 am
From: Ondřej Žára <ondrej.z...@gmail.com>
Date: Thu, 21 Oct 2010 08:43:12 +0200
Local: Thurs, Oct 21 2010 2:43 am
Subject: Re: Fibers patch

Hi Malcom,

thanks a lot! This looks like a very nice and cool contribution.

1) applying with patch -p0 < ... results in
patch: **** malformed patch at line 34: def build_mysql(env):

what am I doing wrong?

2) your patch also modifies SConstruct so it expects "profile" and
"memcached" modules to be defined. Are you able to supply also these? :)

Thanks,
Ondrej

2010/10/21 Malcolm Handley <malc...@asana.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Malcolm Handley  
View profile  
 More options Oct 22 2010, 2:50 pm
From: Malcolm Handley <malc...@asana.com>
Date: Fri, 22 Oct 2010 11:50:08 -0700
Local: Fri, Oct 22 2010 2:50 pm
Subject: Re: Fibers patch

Sorry. I think that both of these problems were caused by my trying to split
our changes into smaller patches to give you. I can still do that if you
want but this time I'm attaching a patch with almost all of our changes.

Here's what the patch does:

- fixes DOMParser.prototype._unescapeEntities to globally unescape (versus
just the first match). (dom.js)
- adds a flush() method to File. (fs.js)
- adds a fiber api (v8cgi.cc, src/lib/fibers, SConstruct)
- adds support for enabling v8's profiler from JS
(src/lib/profiler, SConstruct)
- adds a memcached client (src/lib/memcached, SConstruct)
- adds support for passing an environment when running subprocesses
(process.cc)
- adds getpid (system.cc)
- links against the debug version of v8 when built with the debug flag
(SConstruct). This may not be what you want but we find it useful to use a
debug v8 when testing changes to v8cgi. (We like to get real stack traces,
for example.)

I have applied this patch myself.

We have tests for many of these changes but they are written in our on JS
testing framework. You are welcome to them if you like, though.

  v8cgi_patch.txt
61K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ondřej Žára  
View profile  
 More options Oct 25 2010, 9:49 am
From: Ondřej Žára <ondrej.z...@gmail.com>
Date: Mon, 25 Oct 2010 15:49:08 +0200
Local: Mon, Oct 25 2010 9:49 am
Subject: Re: Fibers patch

Hi Malcom,

thanks a lot for your contribution. I just commited it with only very minor
cosmetic changes, such as removal of unnecessary includes. I also need to
test your new libraries (fibes, profiler, memcached) on Windows and adjust
the build process accordingly.

I now need to properly document your three new modules. Are you able to
provide the documentation (similar as other modules) in Google Code Wiki
format? Alternatively, I can make you a project memeber, so you can edit
wiki yourself. This seems to be a better alternative, as it allows you to
commit fixes for these modules when necessary...

Thank your again,
Ondrej Zara

2010/10/22 Malcolm Handley <malc...@asana.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Malcolm Handley  
View profile  
 More options Oct 25 2010, 1:43 pm
From: Malcolm Handley <malc...@asana.com>
Date: Mon, 25 Oct 2010 10:43:54 -0700
Local: Mon, Oct 25 2010 1:43 pm
Subject: Re: Fibers patch

On Mon, Oct 25, 2010 at 06:49, Ondřej Žára <ondrej.z...@gmail.com> wrote:
> Hi Malcom,

> thanks a lot for your contribution. I just commited it with only very minor
> cosmetic changes, such as removal of unnecessary includes. I also need to
> test your new libraries (fibes, profiler, memcached) on Windows and adjust
> the build process accordingly.

Excellent. Thanks!

> I now need to properly document your three new modules. Are you able to
> provide the documentation (similar as other modules) in Google Code Wiki
> format? Alternatively, I can make you a project memeber, so you can edit
> wiki yourself. This seems to be a better alternative, as it allows you to
> commit fixes for these modules when necessary...

I'd be happy to be a project member and add the docs and commit changes
directly. The one problem is that I don't have any Windows machines to test
on so I'd be worried about breaking the build for Windows.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ondřej Žára  
View profile  
 More options Oct 25 2010, 2:05 pm
From: Ondřej Žára <ondrej.z...@gmail.com>
Date: Mon, 25 Oct 2010 20:05:12 +0200
Local: Mon, Oct 25 2010 2:05 pm
Subject: Re: Fibers patch

> I now need to properly document your three new modules. Are you able to
>> provide the documentation (similar as other modules) in Google Code Wiki
>> format? Alternatively, I can make you a project memeber, so you can edit
>> wiki yourself. This seems to be a better alternative, as it allows you to
>> commit fixes for these modules when necessary...

> I'd be happy to be a project member and add the docs and commit changes
> directly. The one problem is that I don't have any Windows machines to test
> on so I'd be worried about breaking the build for Windows.

As for Windows build, no problem, I can handle that. I have a virtualized
windows machine which I use for building v8cgi...

Please let me know what your gmail e-mail is, so I can add you as a project
member.

O.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Malcolm Handley  
View profile  
 More options Oct 25 2010, 4:31 pm
From: Malcolm Handley <malc...@asana.com>
Date: Mon, 25 Oct 2010 13:31:44 -0700
Local: Mon, Oct 25 2010 4:31 pm
Subject: Re: Fibers patch

It's malcolmredhe...@gmail.com.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ondřej Žára  
View profile  
 More options Oct 26 2010, 4:27 am
From: Ondřej Žára <ondrej.z...@gmail.com>
Date: Tue, 26 Oct 2010 10:27:53 +0200
Local: Tues, Oct 26 2010 4:27 am
Subject: Re: Fibers patch

> Please let me know what your gmail e-mail is, so I can add you as a project
>> member.

> It's malcolmredhe...@gmail.com.

> --

You are now a member :)

O.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »