equal
deleted
inserted
replaced
75 |
75 |
76 fun standard_message mbox opt_serial ch body = |
76 fun standard_message mbox opt_serial ch body = |
77 if body = "" then () |
77 if body = "" then () |
78 else |
78 else |
79 message false mbox ch |
79 message false mbox ch |
80 ((case opt_serial of SOME i => cons (Markup.serialN, string_of_int i) | _ => I) |
80 ((case opt_serial of SOME i => cons (Isabelle_Markup.serialN, string_of_int i) | _ => I) |
81 (Position.properties_of (Position.thread_data ()))) body; |
81 (Position.properties_of (Position.thread_data ()))) body; |
82 |
82 |
83 fun message_output mbox channel = |
83 fun message_output mbox channel = |
84 let |
84 let |
85 fun flush () = ignore (try System_Channel.flush channel); |
85 fun flush () = ignore (try System_Channel.flush channel); |
187 val channel = rendezvous (); |
187 val channel = rendezvous (); |
188 val _ = setup_channels channel; |
188 val _ = setup_channels channel; |
189 |
189 |
190 val _ = Keyword.status (); |
190 val _ = Keyword.status (); |
191 val _ = Thy_Info.status (); |
191 val _ = Thy_Info.status (); |
192 val _ = Output.status (Markup.markup Markup.ready "process ready"); |
192 val _ = Output.status (Markup.markup Isabelle_Markup.ready "process ready"); |
193 in loop channel end)); |
193 in loop channel end)); |
194 |
194 |
195 fun init_fifos fifo1 fifo2 = init (fn () => System_Channel.fifo_rendezvous fifo1 fifo2); |
195 fun init_fifos fifo1 fifo2 = init (fn () => System_Channel.fifo_rendezvous fifo1 fifo2); |
196 fun init_socket name = init (fn () => System_Channel.socket_rendezvous name); |
196 fun init_socket name = init (fn () => System_Channel.socket_rendezvous name); |
197 |
197 |