Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 23:54:04 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 13308 for review
Message-ID:  <200206230654.g5N6s4I60725@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13308

Change 13308 by julian@julian_ref on 2002/06/22 23:53:31

	add a bit of documentation.

Affected files ...

... //depot/projects/kse/sys/kern/kern_synch.c#70 edit
... //depot/projects/kse/sys/sys/proc.h#113 edit

Differences ...

==== //depot/projects/kse/sys/kern/kern_synch.c#70 (text+ko) ====


==== //depot/projects/kse/sys/sys/proc.h#113 (text+ko) ====

@@ -326,6 +326,16 @@
 #define	TDF_DEADLKTREAT	0x800000 /* Lock aquisition - deadlock treatment. */
 
 /*
+ * Traps for young players:
+ * The main thread flag that controls whether a thread acts as a threaded
+ * or unthreaded thread is the TDF_UNBOUND flag.
+ * UPCALLS run with the UNBOUND flags clear, after they are first scheduled.
+ * i.e. they bind themselves to whatever thread thay are first scheduled with.
+ * You may see BOUND threads in KSE processes but you should never see
+ * UNBOUND threads in non KSE processes.
+ */
+
+/*
  * The schedulable entity that can be given a context to run.
  * A process may have several of these. Probably one per processor
  * but posibly a few more. In this universe they are grouped

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206230654.g5N6s4I60725>