< prev index next >

src/demo/share/jvmti/waiters/Thread.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * --- 1,7 ---- /* ! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *
*** 35,44 **** --- 35,47 ---- * required for a production-quality application, such as security checks, * input validation and proper error handling, might not be present in * this sample code. */ + #ifdef STATIC_BUILD + #define Thread WaiterThread + #endif #include <stdio.h> #include <stdlib.h> #include <string.h>
< prev index next >