concept form in category erlang

appears as: form
Erlang and OTP in Action

This is an excerpt from Manning's book Erlang and OTP in Action.

Implementing locks requires support from the memory system, typically hardware support in the form of special instructions. The use of locks requires complete cooperation between processes: all must make sure to ask for the lock before accessing a shared memory region, and they must return the lock when they’re done so that someone else gets a chance to use it. The slightest failure can cause havoc; so, generally, higher-level constructs such as semaphores, monitors, and mutexes, are built on these basic locks and are provided as operating system calls or programming language constructs to make it easier to guarantee that locks are properly requested and returned. Although this avoids the worst problems, locks still have a number of drawbacks. To mention only a few:

So far, you’ve created the directory structure and put the metadata in place. (If you didn’t create the ebin/tcp_rpc.app file yet, do that before you go on.) But you haven’t done everything you need to make a complete application. As mentioned in the description of the mod parameter in table 4.2, you also need a launching point for your application, in the form of a module that implements the application behaviour. This will be your task in the next section.

2.  Add the application metadata in the form of the .app file.