kore/examples/tasks
Joris Vink 1d604643b5 Add task_threads configuration option.
Before Kore would spawn a task thread per task started
if none were available. This was an obvious bad idiom
but never really hit me hard until now.

Kore will now only spawn as many task threads as configured
by "task_threads" and queue up any newly started tasks ontop
of already running threads if the limit was hit.
2015-06-04 10:29:22 +02:00
..
conf Add task_threads configuration option. 2015-06-04 10:29:22 +02:00
src Fixed typos 2015-05-17 02:51:46 +01:00
README.md KORE_LDFLAGS is no more. 2014-10-22 18:48:43 +02:00

README.md

Kore task example.

This example creates an asynchronous task from the page handler that performs a POST to the same server and fetches its data before returning to the client.

Build:

	# env LDFLAGS="-I/path/to/libcurl -lcurl" kore build

Run:

	# kore run

Test:

	# curl -i -k https://127.0.0.1:8888/?user=astring
	The returned data must match what you supplied in user ([a-z] string)