1. A method performed by a computing system for providing cross-thread event handling for structured event handling, the method comprising: under control of a source thread, executing instructions generated based on an event creation statement of a programming language, the event creation statement including a thread identifier of a target thread, the instructions including instructions to start a handler thread to handle the event in a current structured event handling context of the target thread wherein the source thread, the target thread, and the handler thread are distinct threads, and wherein the source thread provides the thread identifier of the target thread.