~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/cosTransactions/src/CosTransactions_TransactionFactory_impl.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-08-05 20:54:29 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090805205429-pm4pnwew8axraosl
Tags: 1:13.b.1-dfsg-5
* Fixed parentheses in Emacs mode (closes: #536891).
* Removed unnecessary conflicts with erlang-manpages package.
* Added workaround for #475459: disabled threads on sparc architecture.
  This breaks wxErlang, so it's only a temporary solution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
%%            a gen_server.
53
53
%%------------------------------------------------------------
54
54
 
55
 
init(Options) when list(Options) ->
 
55
init(Options) when is_list(Options) ->
56
56
    ?debug_print("Factory:init(~p)~n", [Options]),
57
57
    process_flag(trap_exit,true),
58
58
    DefaultValues  = [{maxRetries, ?tr_max_retries},
127
127
%%            management.
128
128
%%------------------------------------------------------------
129
129
 
130
 
create(_Self, State, TimeOut) when integer(TimeOut) ->
 
130
create(_Self, State, TimeOut) when is_integer(TimeOut) ->
131
131
    %% Generate objectnames.
132
132
    ETraPName    = 'ETraP_Common':create_name("root"),
133
133
    TermName     = 'ETraP_Common':create_name("term"),