Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't use groups in philosophers example

this patch removes spawn_in_group from the dining philosophers example
to keep the example more focused and simple
  • Loading branch information...
commit 9ac35c52c7fbe793789b5dee923ade357eacbe7e 1 parent 68541ef
@Neverlord Neverlord authored
View
38 cppa.files
@@ -47,14 +47,12 @@ cppa/detail/pseudo_tuple.hpp
cppa/detail/ptype_to_type.hpp
cppa/detail/receive_loop_helper.hpp
cppa/detail/receive_policy.hpp
-cppa/mailbox_element.hpp
-cppa/mailbox_based.hpp
cppa/detail/scheduled_actor_dummy.hpp
cppa/detail/serialize_tuple.hpp
cppa/detail/singleton_manager.hpp
cppa/detail/singleton_mixin.hpp
-cppa/stacked.hpp
cppa/detail/swap_bytes.hpp
+cppa/detail/sync_request_bouncer.hpp
cppa/detail/tdata.hpp
cppa/detail/thread_pool_scheduler.hpp
cppa/detail/to_uniform_name.hpp
@@ -72,6 +70,7 @@ cppa/enable_weak_ptr.hpp
cppa/event_based_actor.hpp
cppa/exception.hpp
cppa/exit_reason.hpp
+cppa/extend.hpp
cppa/factory.hpp
cppa/from_string.hpp
cppa/get.hpp
@@ -82,8 +81,11 @@ cppa/intrusive/single_reader_queue.hpp
cppa/intrusive_ptr.hpp
cppa/local_actor.hpp
cppa/logging.hpp
+cppa/mailbox_based.hpp
+cppa/mailbox_element.hpp
cppa/match.hpp
cppa/match_expr.hpp
+cppa/memory_cached.hpp
cppa/memory_managed.hpp
cppa/message_future.hpp
cppa/message_id.hpp
@@ -122,7 +124,11 @@ cppa/scheduled_actor.hpp
cppa/scheduler.hpp
cppa/self.hpp
cppa/serializer.hpp
+cppa/singletons.hpp
+cppa/spawn_options.hpp
+cppa/stacked.hpp
cppa/thread_mapped_actor.hpp
+cppa/threaded.hpp
cppa/timeout_definition.hpp
cppa/to_string.hpp
cppa/tpartial_function.hpp
@@ -139,13 +145,16 @@ cppa/util/compare_tuples.hpp
cppa/util/conjunction.hpp
cppa/util/deduce_ref_type.hpp
cppa/util/disjunction.hpp
+cppa/util/dptr.hpp
cppa/util/duration.hpp
cppa/util/element_at.hpp
cppa/util/fiber.hpp
cppa/util/fixed_vector.hpp
+cppa/util/get_result_type.hpp
cppa/util/int_list.hpp
cppa/util/is_array_of.hpp
cppa/util/is_builtin.hpp
+cppa/util/is_callable.hpp
cppa/util/is_comparable.hpp
cppa/util/is_forward_iterator.hpp
cppa/util/is_iterable.hpp
@@ -158,6 +167,7 @@ cppa/util/producer_consumer_list.hpp
cppa/util/pt_dispatch.hpp
cppa/util/pt_token.hpp
cppa/util/purge_refs.hpp
+cppa/util/rebindable_reference.hpp
cppa/util/replace_type.hpp
cppa/util/ripemd_160.hpp
cppa/util/rm_option.hpp
@@ -174,9 +184,9 @@ cppa/util/wrapped.hpp
cppa/weak_intrusive_ptr.hpp
cppa/weak_ptr_anchor.hpp
cppa/wildcard_position.hpp
-examples/event_based_api/dining_philosophers.cpp
examples/hello_world.cpp
examples/message_passing/dancing_kirby.cpp
+examples/message_passing/dining_philosophers.cpp
examples/message_passing/math_actor.cpp
examples/qtsupport/chatwidget.cpp
examples/qtsupport/chatwidget.hpp
@@ -219,6 +229,7 @@ src/duration.cpp
src/empty_tuple.cpp
src/event_based_actor.cpp
src/exception.cpp
+src/exit_reason.cpp
src/factory.cpp
src/fd_util.cpp
src/fiber.cpp
@@ -228,6 +239,7 @@ src/ipv4_acceptor.cpp
src/ipv4_io_stream.cpp
src/local_actor.cpp
src/logging.cpp
+src/mailbox_element.cpp
src/match.cpp
src/memory.cpp
src/memory_managed.cpp
@@ -235,12 +247,12 @@ src/message_header.cpp
src/middleman.cpp
src/object.cpp
src/object_array.cpp
+src/on.cpp
src/opt.cpp
src/partial_function.cpp
src/primitive_variant.cpp
src/process_information.cpp
src/protocol.cpp
-src/mailbox_element.cpp
src/ref_counted.cpp
src/response_handle.cpp
src/ripemd_160.cpp
@@ -261,6 +273,7 @@ src/weak_ptr_anchor.cpp
src/yield_interface.cpp
unit_testing/ping_pong.cpp
unit_testing/ping_pong.hpp
+unit_testing/test.cpp
unit_testing/test.hpp
unit_testing/test_atom.cpp
unit_testing/test_fixed_vector.cpp
@@ -268,6 +281,7 @@ unit_testing/test_intrusive_containers.cpp
unit_testing/test_intrusive_ptr.cpp
unit_testing/test_local_group.cpp
unit_testing/test_match.cpp
+unit_testing/test_metaprogramming.cpp
unit_testing/test_primitive_variant.cpp
unit_testing/test_remote_actor.cpp
unit_testing/test_ripemd_160.cpp
@@ -275,19 +289,5 @@ unit_testing/test_serialization.cpp
unit_testing/test_spawn.cpp
unit_testing/test_sync_send.cpp
unit_testing/test_tuple.cpp
-unit_testing/test_metaprogramming.cpp
unit_testing/test_uniform_type.cpp
unit_testing/test_yield_interface.cpp
-unit_testing/test.cpp
-src/exit_reason.cpp
-src/on.cpp
-cppa/spawn_options.hpp
-cppa/extend.hpp
-cppa/detail/sync_request_bouncer.hpp
-cppa/memory_cached.hpp
-cppa/singletons.hpp
-cppa/threaded.hpp
-cppa/util/dptr.hpp
-cppa/util/is_callable.hpp
-cppa/util/get_result_type.hpp
-cppa/util/rebindable_reference.hpp
View
2  examples/CMakeLists.txt
@@ -15,7 +15,7 @@ add(announce_3 type_system)
add(announce_4 type_system)
add(announce_5 type_system)
add(dancing_kirby message_passing)
-add(dining_philosophers event_based_api)
+add(dining_philosophers message_passing)
add(hello_world .)
add(math_actor message_passing)
add(distributed_math_actor remote_actors)
View
0  examples/event_based_api/dining_philosophers.cpp → examples/message_passing/dining_philosophers.cpp
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.