Developing Apama Applications > Developing Apama Applications in EPL > Implementing Parallel Processing > Introduction to contexts
Introduction to contexts
Contexts allow EPL applications to organize work into threads that the correlator can execute concurrently. In EPL, the type context is a reference type. When you create a value of type context you are actually creating an object that refers to a context. The context might or might not already exist. You can then use the context reference to spawn to the context or enqueue an event to the context. When you spawn to a context, the correlator creates the context if it does not already exist.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.