x10-lang / x10

Core implementation of X10 programming language including compiler, runtime, class libraries, sample programs and test suite
Eclipse Public License 1.0
70 stars 15 forks source link

Native support for System.registerPlaceRemovedHandler #23

Closed shamouda closed 6 years ago

shamouda commented 6 years ago

System.registerPlaceRemovedHandler(..) allows an application to register a callback method to be called the first time a place is detected to be dead. It was supported only in Managed X10. This PR adds native support to this method. It is one of the changes done to run ResilientUTS.x10 in native mode.

I compiled and tested this change over the sockets and MPI transports only. I didn't compile it over PAMI because I don't have access to a PAMI environment.

dgrove-oss commented 6 years ago

Thanks Sara. This looks reasonable to me. We don't need to test for PAMI.