Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix up boldfacing.

Different renderers (different *roffs, different -man macro packages,
different man-to-HTML translators, etc.) may handle fonts and paragraph
boundaries differently, or may handle font resetting in .BR and .B
differently, so:

	reset the font at or before the end of a paragraph;

	don't assume that font changes persist across paragraph breaks;

	don't use .B or .BR inside boldfaced text.
  • Loading branch information...
commit 32ad0971393649f7295d38b3c907ae5f8ce2dd04 1 parent a219681
@guyharris guyharris authored
Showing with 7 additions and 12 deletions.
  1. +7 −12 pcap_breakloop.3pcap
View
19 pcap_breakloop.3pcap
@@ -58,20 +58,15 @@ if the signal interrupted a call reading packets in a live capture,
when your signal handler returns after calling pcap_breakloop(), the
call will be restarted, and the loop will not terminate until more
packets arrive and the call completes.
+.ft R
.PP
+.ft B
Note also that, in a multi-threaded application, if one thread is
-blocked in
-.BR pcap_dispatch() ,
-.BR pcap_loop() ,
-.BR pcap_next() ,
-or
-.BR pcap_next_ex() ,
-a call to
-.B pcap_breakloop()
-in a different thread will not unblock that thread; you will need to use
-whatever mechanism the OS provides for breaking a thread out of blocking
-calls in order to unblock the thread, such as thread cancellation in
-systems that support POSIX threads.
+blocked in pcap_dispatch(), pcap_loop(), pcap_next(), or pcap_next_ex(),
+a call to pcap_breakloop() in a different thread will not unblock that
+thread; you will need to use whatever mechanism the OS provides for
+breaking a thread out of blocking calls in order to unblock the thread,
+such as thread cancellation in systems that support POSIX threads.
.ft R
.PP
Note that
Please sign in to comment.
Something went wrong with that request. Please try again.