[mercury-users] Re: java / threads / UIMA

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Aug 18 00:57:24 AEST 2011


On Wed, 17 Aug 2011, Tomas By wrote:

> Back at square one then?
>
> Any ideas why the code I posted hangs?

Not from me I'm afraid.  The generated code for lexlookup and its export
wrapper is:

   public static void lexlookup_1_p_0(
     java.lang.String HeadVar__1_2)
   {
     {
       boolean succeeded = false;

     }
   }

   public static
   void lexlookup(
       java.lang.String HeadVar__1_2)
   {
     foo.lexlookup_1_p_0(HeadVar__1_2);
   }

I would be very surprised if the above failed to terminate.

Have you / is it possible to run your code under jdb (or some
other debugger) and confirm that it actually the call to lexlookup
that is not terminating?

Julien.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list