~ubuntu-branches/debian/sid/pyro/sid

« back to all changes in this revision

Viewing changes to examples/oneway/Readme.txt

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz, Sandro Tosi, Bernd Zeimetz
  • Date: 2009-05-25 14:26:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090525142623-31cqgb2pdff6c1az
Tags: 3.9.1-1
[ Sandro Tosi ]
* debian/control
  - switch Vcs-Browser field to viewsvn

[ Bernd Zeimetz ]
* New upstream release.
* debian/patches/usr-bin-env-location.dpatch:
  - Dropping patch, applied usptream. 
* debian/control, debian/rules:
  - Dropping dpatch build-dep and include, not needed anymore. 
* Switching to python-support and dh 7.
* Bumping Standards-Version to 3.8.1. 
* Dropping maintainer scripts, dh creates them properly. 
* Adding missing ${misc:Depends}. 
* Fix several file permissions in the examples package.
* Add symlink to the actual docu in pyro-examples. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
(callbacks & oneway calls).
15
15
 
16
16
 
17
 
(Due to a bug in Pyro 3.4 and older, the oneway call is not
18
 
processed in the background on the server, and subsequent
19
 
method calls must wait. So use 3.5 or newer to see it work
20
 
as it was intended)
 
17
PYRO_ONEWAY_THREADED config item:
 
18
 
 
19
This server sets PYRO_ONEWAY_THREADED to True, so Pyro will run incoming
 
20
oneway method calls in their own thread. This allows for the server to
 
21
continue to process other method calls on this object in the meantime!
 
22
That is why the client can "poll" for server completion.
 
23
(this is the default setting, by the way).
 
24
 
 
25
Try setting PYRO_ONEWAY_THREADED to False in the server and see what happens.
 
26
The client tries to poll the server for completion, but the method call blocks
 
27
until the call to the 'oneway' method finished processing.