This repository was archived by the owner on Apr 14, 2024. It is now read-only.
File tree 20 files changed +80
-0
lines changed
Filter options
20 files changed +80
-0
lines changed
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Initialize the multi-processing package"""
2
6
3
7
#{ Initialization
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Contains a queue based channel implementation"""
2
6
from Queue import (
3
7
Empty ,
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Simplistic implementation of a graph"""
2
6
3
7
__all__ = ('Node' , 'Graph' )
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Implementation of a thread-pool working with channels"""
2
6
from thread import (
3
7
WorkerThread ,
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
from graph import Node
2
6
from util import ReadOnly
3
7
from channel import IteratorReader
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Module with shared tools for testing"""
2
6
import unittest
3
7
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""ZLib module testing"""
2
6
from async .test .lib import *
3
7
import async .mod .zlib as zlib
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Module containing task implementations useful for testing them"""
2
6
from async .task import *
3
7
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Channel testing"""
2
6
from lib import *
3
7
from async .channel import *
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Module containing examples from the documentaiton"""
2
6
from lib import *
3
7
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Channel testing"""
2
6
from lib import *
3
7
from async .graph import *
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Channel testing"""
2
6
from lib import *
3
7
from task import *
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Pool testing"""
2
6
from lib import *
3
7
from task import *
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Channel testing"""
2
6
from lib import *
3
7
from async .util import *
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
# -*- coding: utf-8 -*-
2
6
""" Test thead classes and functions"""
3
7
from lib import *
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
# -*- coding: utf-8 -*-
2
6
"""Module with threading utilities"""
3
7
__docformat__ = "restructuredtext"
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2
+ #
3
+ # This module is part of async and is released under
4
+ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
1
5
"""Module with utilities related to async operations"""
2
6
3
7
from threading import (
You can’t perform that action at this time.
0 commit comments