Skip to content

Commit

Permalink
v0.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xk committed Dec 30, 2016
1 parent 3cd0b83 commit c2b22d7
Show file tree
Hide file tree
Showing 9 changed files with 781 additions and 523 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Threads_a_gogo license follows:

====

Copyright 2011 Proyectos Equis Ka, s.l., Jorge Chamorro Bieling and other
contributors. See the AUTHORS file. All rights reserved.
Copyright 2011 Proyectos Equis Ka, s.l., Jorge Chamorro Bieling.
All rights reserved.

====

Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![build status](https://travis-ci.org/xk/node-threads-a-gogo.svg?branch=master)](https://travis-ci.org/xk/node-threads-a-gogo)
[![build status](https://travis-ci.org/xk/node-threads-a-gogo.svg?branch=SYNC)](https://travis-ci.org/xk/node-threads-a-gogo)
[![npm version](https://badge.fury.io/js/threads_a_gogo.svg)](https://www.npmjs.com/package/threads_a_gogo)

***
Expand All @@ -19,12 +19,15 @@ From source:
cd node-threads-a-gogo
# One of
node-gyp rebuild
node test/all.js
# or
npm install
node test/all.js
# or
node-waf configure build install
node-waf configure build install test
# Depending of what wersion of node you've got.
# THREADS_A_GOGO CURRENTLY (v0.1.12) RUNS ON NODES v0.5.1 TO v0.10.48
#
# THREADS_A_GOGO CURRENTLY (v0.1.13) RUNS ON NODES v0.5.1 TO v6.9.2

Basic functionality test:

Expand All @@ -42,15 +45,15 @@ Basic functionality test:
27.OK.WAITING FOR DESTROY CB
28.OK.29.DESTROY CB OK
END
THREADS_A_GOGO v0.1.12 BASIC FUNCTIONALITY TEST: OK, IT WORKS!
THREADS_A_GOGO v0.1.13 BASIC FUNCTIONALITY TEST: OK, IT WORKS!

To include the module in your project:

var tagg= require('threads_a_gogo');

**You need a node with a v8 >= 3.2.4 to run this module. Any node >= 0.5.1 comes with a v8 >= 3.2.4.**

The module **runs fine, though, in any node >= 0.2.0** as long as you build it with a v8 >= 3.2.4. To do that you simply have to replace /node/deps/v8 with a newer version of v8 and recompile it (node). To get any version of node goto http://nodejs.org/dist/, and for v8 goto http://github.com/v8/v8, click on "branch", select the proper tag (>= 3.2.4), and download the .zip.
The module **runs fine, though, in any node >= 0.1.13** as long as you build it with a v8 >= 3.2.4, [see here](https://nodejs.org/en/download/releases/). To do that you simply have to replace /node/deps/v8 with a newer version of v8 and recompile it (node). To get any version of node goto http://nodejs.org/dist/, and for v8 goto http://github.com/v8/v8, click on "branch", select the proper tag (>= 3.2.4), and download the .zip.

## Intro

Expand Down Expand Up @@ -263,7 +266,7 @@ tagg= require('threads_a_gogo') -> tagg object

{ create: [Function],
createPool: [Function: createPool],
version: '0.1.12' }
version: '0.1.13' }

```
### .create()
Expand All @@ -286,7 +289,7 @@ thread= tagg.create() -> thread object
emit: [Function: emit],
destroy: [Function: destroy],
id: 0,
version: '0.1.12',
version: '0.1.13',
on: [Function: on],
once: [Function: once],
_on: {},
Expand Down Expand Up @@ -348,7 +351,7 @@ Inside every thread .create()d by threads_a_gogo, there's a global `thread` obje
thread (a global) ->

{ id: 0,
version: '0.1.12',
version: '0.1.13',
on: [Function: on],
once: [Function: once],
emit: [Function: emit],
Expand Down Expand Up @@ -438,7 +441,7 @@ pool= tagg.createPool( numbreOfThreads ) ->
emit: [Function: emit],
destroy: [Function: destroy],
id: 0,
version: '0.1.12',
version: '0.1.13',
on: [Function: on],
once: [Function: once],
_on: {},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "threads_a_gogo",
"version": "0.1.12",
"version": "0.1.13",
"main": "build/Release/threads_a_gogo.node",
"description": "██ Simple and fast JavaScript threads for Node.js ██",
"keywords": [
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"os": ["macos", "linux", "darwin"],
"engines": {
"node": ">=0.5.1 <0.11"
"node": ">=0.5.1 <=6.9.2"
},
"devDependencies": { "test": ">=0.1.8" }
}
Loading

0 comments on commit c2b22d7

Please sign in to comment.