This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/clayg/5d6b540bccdf3d927c079655b8a6c10d | |
# modified to use DAGPool | |
import sys | |
import random | |
from eventlet import sleep | |
from eventlet.dagpool import DAGPool | |
packages = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright Nat Goodspeed 2016. | |
// Distributed under the Boost Software License, Version 1.0. | |
// (See accompanying file LICENSE_1_0.txt or copy at | |
// http://www.boost.org/LICENSE_1_0.txt) | |
// Portions of this source were excerpted from | |
// http://www.boost.org/doc/libs/release/libs/graph/example/dave.cpp | |
// and are therefore copyrighted: |