-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the meaning of MCTP_DEFAULT_CLOCK_GETTIME? #17
Comments
Get the some issue when compiling. |
Some background, the clock handling was added to handle tag allocation and expiry inside libmctp. On POSIXish platforms, On other platforms, the intent is that it will be built with It might make sense to have libmctp on non-posix platforms only expose clock-requiring functions after the application opts in, otherwise |
Hostboot is pretty far from a POSIXish platform, we play some games with standard libraries. In this case, there is a chain of dependencies that ends up pulling a C++ header into the libmctp C code, which obviously doesn't go well. We haven't had time to dig in yet, but I wanted to get a sense of direction before we did. mctp_message_tx_request() seems to be a new interface since we just refreshed our copy (less than 2 months ago...) so we'll have to evaluate how we might or might not use that interface.
Is there some specific reason for the 6 second number? We may have platform-specific reasons to use something else. Thanks for the info. |
I see that MCTP_DEFAULT_CLOCK_GETTIME showed up in a recent update. I couldn't find any comments describing the meaning of this precompiler variable to determine if we should be setting it or not in our environment. (Currently it leads to some compile failures due to a nested set of includes from time.h)
The text was updated successfully, but these errors were encountered: