File: main-examples.cc

package info (click to toggle)
libcwd 1.0.4-1.1
  • links: PTS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd
  • size: 8,136 kB
  • ctags: 10,313
  • sloc: cpp: 23,354; sh: 9,798; ansic: 1,172; makefile: 852; exp: 234; awk: 11
file content (10 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
/* Add this at the top of your main() to have a quick start.	*/

  Debug(myproject::debug::init());		// This is a custom function defined
  						// in example-project/debug.cc.

/* Add this at the start of each new thread.	*/

  Debug(myproject::debug::thread_init());	// This is a custom function defined
  						// in example-project/debug.cc.