

KEYWORDS = ["create thread", "create", "thread", "pthread", "CreateThread", "handle", "argument",
            "return"]


def yieldData(pspDirectory, filePath, **keywords):

	path    = monju.util.path.join(pspDirectory, "all.py")
	globs   = globals()
	execfile(path, globs, globs)

	text = getCodeText(filePath, 
	                   "thread.cpp", 
	                   "Cpp", 
	                   ["mutex.h", "mutex.cpp", "thread.h"])

	for data in yieldPage(PAGE_NAME__CPP__CREATE_THREAD, 
	                      yieldStandardPage, 
	                      metaKeywords  = KEYWORDS + META_KEYWORDS__CPP,
	                      language      = "C++",
	                      text          = text):
		yield data

