From aaac236db6ca17d8328f11cc4dcc63fdfb986566 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 22 Apr 2019 18:31:47 +0200 Subject: [PATCH] Update README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c9e5679..24a62693 100644 --- a/README.md +++ b/README.md @@ -5121,10 +5121,11 @@ NOTE: The last two cases are not properly fully supported yet. Throwing an exception is not fully supported yet. -##### void M\_ASSERT\_INIT\_FAILURE(expression) +##### void M\_ASSERT\_INIT\_FAILURE(expression, object_name) This macro is called when an assertion used in an initialization context -is called to check the good creation of an object (like a thread, a mutex). +is called to check the good creation of an object (like a thread, a mutex) +that string name is 'object_name'. If the given 'expression' is false, the execution shall be aborted. The assertion is kept in programs built in release mode. The default is to abort the execution.